1 | <?php |
||
11 | final class XmlNode extends XmlElement |
||
12 | { |
||
13 | /** |
||
14 | * @var Element[] |
||
15 | */ |
||
16 | private $children = []; |
||
17 | |||
18 | /** |
||
19 | * @param Element $element |
||
20 | */ |
||
21 | public function appendChild(Element $element) |
||
25 | |||
26 | /** |
||
27 | * @return Element[]|XmlNode[] |
||
28 | */ |
||
29 | public function getChildren(): array |
||
33 | |||
34 | /** |
||
35 | * @return bool |
||
36 | */ |
||
37 | public function hasChildren(): bool |
||
41 | |||
42 | /** |
||
43 | * @param HydratorInterface $hydrator |
||
44 | */ |
||
45 | public function hydration(HydratorInterface $hydrator) |
||
49 | } |