| 1 | <?php |
||
| 25 | class DirectiveDefinition extends AbstractTypeDefinition implements DirectiveDefinitionInterface |
||
| 26 | { |
||
| 27 | use HasArguments; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return TypeInterface |
||
| 31 | */ |
||
| 32 | public static function getType(): TypeInterface |
||
| 36 | |||
| 37 | public function isAllowedFor(TypeDefinition $definition): bool |
||
| 41 | |||
| 42 | public function getLocations(): iterable |
||
| 46 | |||
| 47 | public function getLocation(string $name): ?DirectiveLocation |
||
| 51 | |||
| 52 | public function hasLocation(string $name): bool |
||
| 56 | } |
||
| 57 |