1 | <?php |
||
18 | final class SchemaObject extends ObjectDefinition |
||
19 | { |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | public const TYPE_NAME = '__Schema'; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | public const TYPE_DESCRIPTION = 'A GraphQL Schema defines the capabilities of a GraphQL server. |
||
29 | It exposes all available types and directives on the server, as well |
||
30 | as the entry points for query, mutation, and subscription operations.'; |
||
31 | |||
32 | /** |
||
33 | * @var int |
||
34 | */ |
||
35 | public const TYPE_LINE = 7; |
||
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 |