Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
OrderType
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2/**
3 * Jingga
4 *
5 * PHP Version 8.1
6 *
7 * @package   phpOMS\Stdlib\Map
8 * @copyright Dennis Eichhorn
9 * @license   OMS License 2.0
10 * @version   1.0.0
11 * @link      https://jingga.app
12 */
13declare(strict_types=1);
14
15namespace phpOMS\Stdlib\Map;
16
17use phpOMS\Stdlib\Base\Enum;
18
19/**
20 * Muli map order type enum.
21 *
22 * Specifies if keys in the map can be ordered in any way or need to match the exact order.
23 *
24 * @package phpOMS\Stdlib\Map
25 * @license OMS License 2.0
26 * @link    https://jingga.app
27 * @since   1.0.0
28 */
29abstract class OrderType extends Enum
30{
31    public const LOOSE = 0; // Doesn't matter in which order the keys are ordered
32
33    public const STRICT = 1; // The exact key order matters for setting/getting values
34}