1 | <?php |
||
18 | final class EnumValueObject extends ObjectDefinition |
||
19 | { |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | public const TYPE_NAME = '__EnumValue'; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | public const TYPE_DESCRIPTION = 'One possible value for a given Enum. Enum values are unique values, |
||
29 | not a placeholder for a string or numeric value. However an Enum |
||
30 | value is returned in a JSON response as a string.'; |
||
31 | |||
32 | /** |
||
33 | * @var int |
||
34 | */ |
||
35 | public const TYPE_LINE = 83; |
||
36 | |||
37 | /** |
||
38 | * SchemaObject constructor. |
||
39 | * @param Document $document |
||
40 | */ |
||
41 | 9 | public function __construct(Document $document) |
|
48 | |||
49 | /** |
||
50 | * @return bool |
||
51 | */ |
||
52 | public function isBuiltin(): bool |
||
56 | } |
||
57 |