1 | <?php |
||
15 | abstract class ReadableEnum extends Enum implements ReadableEnumInterface |
||
16 | { |
||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | */ |
||
20 | 10 | public static function readableFor($value): string |
|
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | 6 | public static function readablesFor(array $values): array |
|
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | 1 | public function getReadable(): string |
|
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function __toString() |
||
53 | } |
||
54 |