1: <?php declare(strict_types=1);
2:
3: namespace Salient\Contract\Core;
4:
5: /**
6: * Array key conformity levels
7: */
8: interface ListConformity
9: {
10: /**
11: * Arrays may have different keys in different orders
12: */
13: public const NONE = 0;
14:
15: /**
16: * Data arrays always have the same keys in the same order, but key maps (if
17: * applicable) may not have the same signature as data arrays
18: */
19: public const PARTIAL = 1;
20:
21: /**
22: * Arrays and key maps (if applicable) always have the same keys in the same
23: * order
24: */
25: public const COMPLETE = 2;
26: }
27: