| 1 | <?php |
||
| 23 | class FieldDefinition extends AbstractDependentTypeDefinition implements FieldDefinitionInterface |
||
| 24 | { |
||
| 25 | use HasTypeIndication; |
||
| 26 | use HasArguments; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * FieldDefinition constructor. |
||
| 30 | * @param TypeDefinition $parent |
||
| 31 | * @param Document $document |
||
| 32 | * @param string $name |
||
| 33 | * @param string $type |
||
| 34 | */ |
||
| 35 | public function __construct(TypeDefinition $parent, Document $document, string $name, string $type) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return TypeInterface |
||
| 44 | */ |
||
| 45 | public static function getType(): TypeInterface |
||
| 49 | } |
||
| 50 |