| 1 | <?php |
||
| 23 | class DirectiveDefinition extends AbstractTypeDefinition implements DirectiveDefinitionInterface |
||
| 24 | { |
||
| 25 | use HasArguments; |
||
| 26 | use HasLocations; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return TypeInterface |
||
| 30 | */ |
||
| 31 | 1 | public static function getType(): TypeInterface |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @param TypeDefinition $definition |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | public function isAllowedFor(TypeDefinition $definition): bool |
||
| 50 | } |
||
| 51 |