| 1 | <?php |
||
| 13 | final class TestPhone implements AssemblableInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $name; |
||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $version; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $name |
||
| 26 | */ |
||
| 27 | public function setName(string $name) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $value |
||
| 34 | */ |
||
| 35 | public function setValue(string $value) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getName(): string |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getValue(): string |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return XmlElement |
||
| 58 | */ |
||
| 59 | public function assemble(): XmlElement |
||
| 66 | } |