mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
34 lines
784 B
PHP
34 lines
784 B
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.2
|
|
*
|
|
* @package phpOMS\Stdlib\Map
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link https://orange-management.org
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace phpOMS\Stdlib\Map;
|
|
|
|
use phpOMS\Stdlib\Base\Enum;
|
|
|
|
/**
|
|
* Muli map order type enum.
|
|
*
|
|
* Specifies if keys in the map can be ordered in any way or need to match the exact order.
|
|
*
|
|
* @package phpOMS\Stdlib\Map
|
|
* @license OMS License 1.0
|
|
* @link https://orange-management.org
|
|
* @since 1.0.0
|
|
*/
|
|
abstract class OrderType extends Enum
|
|
{
|
|
public const LOOSE = 0; // Doesn't matter in which order the keys are ordered
|
|
public const STRICT = 1; // The exact key order matters for setting/getting values
|
|
}
|