| 1 | <?php |
||
| 13 | final class TestAddress implements AssemblableInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $street; |
||
| 19 | /** |
||
| 20 | * @var int |
||
| 21 | */ |
||
| 22 | private $plz; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $street |
||
| 26 | */ |
||
| 27 | public function setStreet(string $street) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param int $plz |
||
| 34 | */ |
||
| 35 | public function setPlz(int $plz) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getStreet(): string |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return int |
||
| 50 | */ |
||
| 51 | public function getPlz(): int |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return XmlElement |
||
| 58 | */ |
||
| 59 | public function assemble(): XmlElement |
||
| 67 | } |