| Total Complexity | 3 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 21 | abstract class SplEnumUnit extends SplEnum implements |
||
| 22 | SplEnumSingletonable, |
||
| 23 | SplUnitEnum |
||
| 24 | { |
||
| 25 | use SplUnitEnumTrait; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | protected function __construct() |
||
| 31 | { |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Instanciate an exported object. |
||
| 36 | * |
||
| 37 | * @param array<mixed,mixed> $properties |
||
| 38 | * |
||
| 39 | * @return SplUnitEnum |
||
| 40 | * |
||
| 41 | * @codeCoverageIgnore |
||
| 42 | * @psalm-suppress UnsafeInstantiation |
||
| 43 | */ |
||
| 44 | public static function __set_state(array $properties): SplUnitEnum |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Dumping object. |
||
| 55 | * |
||
| 56 | * @return array<string,string> |
||
| 57 | * |
||
| 58 | * @codeCoverageIgnore |
||
| 59 | */ |
||
| 60 | public function __debugInfo(): array |
||
| 64 | ]; |
||
| 65 | } |
||
| 67 |