1 | <?php |
||
25 | class DirectiveDefinition extends AbstractTypeDefinition implements DirectiveDefinitionInterface |
||
26 | { |
||
27 | use HasArguments; |
||
28 | use HasLocations; |
||
29 | |||
30 | /** |
||
31 | * @return TypeInterface |
||
32 | */ |
||
33 | 10 | public static function getType(): TypeInterface |
|
37 | |||
38 | /** |
||
39 | * @param TypeDefinition $definition |
||
40 | * @return bool |
||
41 | */ |
||
42 | public function isAllowedFor(TypeDefinition $definition): bool |
||
52 | } |
||
53 |