1 | <?php |
||
18 | class BooleanScalar extends ScalarDefinition |
||
19 | { |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | public const TYPE_NAME = 'Boolean'; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | public const TYPE_DESCRIPTION = 'Rebel or Empire? Nope! true or false.'; |
||
29 | |||
30 | /** |
||
31 | * BooleanScalar constructor. |
||
32 | * @param Document $document |
||
33 | */ |
||
34 | 9 | public function __construct(Document $document) |
|
40 | |||
41 | /** |
||
42 | * @return int |
||
43 | */ |
||
44 | public function getLine(): int |
||
48 | } |
||
49 |