1 | <?php |
||
21 | class DirectiveLocation extends AbstractDependentTypeDefinition implements DirectiveLocationInterface |
||
22 | { |
||
23 | /** |
||
24 | * DirectiveLocation constructor. |
||
25 | * @param TypeDefinition $parent |
||
26 | * @param Document $document |
||
27 | * @param string $name |
||
28 | */ |
||
29 | 9 | public function __construct(TypeDefinition $parent, Document $document, string $name) |
|
35 | |||
36 | /** |
||
37 | * @return bool |
||
38 | */ |
||
39 | public function isExecutable(): bool |
||
43 | |||
44 | /** |
||
45 | * @return bool |
||
46 | */ |
||
47 | public function isPrivate(): bool |
||
51 | |||
52 | /** |
||
53 | * @param TypeInterface $type |
||
54 | * @return bool |
||
55 | */ |
||
56 | public function isAllowedFor(TypeInterface $type): bool |
||
62 | |||
63 | /** |
||
64 | * @return TypeInterface |
||
65 | */ |
||
66 | public static function getType(): TypeInterface |
||
70 | } |
||
71 |