1 | <?php |
||
20 | class TypeDefinitionContainer extends AbstractExtensionData implements TypeDefinitionContainerInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var TypeDefinitionContainerInterface[] |
||
24 | */ |
||
25 | protected $children = []; |
||
26 | |||
27 | /** |
||
28 | * @var TypeDefinitionInterface |
||
29 | */ |
||
30 | protected $typeDefinition; |
||
31 | |||
32 | /** |
||
33 | * Returns direct children of the type definition at this level. |
||
34 | * |
||
35 | * @return TypeDefinitionContainerInterface[] |
||
36 | */ |
||
37 | public function getChildren() |
||
41 | |||
42 | /** |
||
43 | * @param TypeDefinitionContainerInterface[] $children |
||
44 | */ |
||
45 | public function setChildren(array $children) |
||
49 | |||
50 | /** |
||
51 | * Returns the type definition at this level. |
||
52 | * |
||
53 | * @return TypeDefinitionInterface |
||
54 | */ |
||
55 | public function getTypeDefinition() |
||
59 | |||
60 | public function setTypeDefinition(TypeDefinitionInterface $typeDefinition) |
||
64 | } |
||
65 |