| 1 | <?php |
||
| 13 | final class TestRoot implements AssemblableInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var TestPerson[] |
||
| 17 | */ |
||
| 18 | private $persons = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param TestPerson $person |
||
| 22 | */ |
||
| 23 | public function appendTestPerson(TestPerson $person) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return TestPerson[] |
||
| 30 | */ |
||
| 31 | public function getPersons(): array |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return XmlElement |
||
| 38 | */ |
||
| 39 | public function assemble(): XmlElement |
||
| 48 | } |