1 | <?php |
||
6 | class Nature implements HydratableInterface |
||
7 | { |
||
8 | /** |
||
9 | * @var string |
||
10 | */ |
||
11 | protected $nature; |
||
12 | |||
13 | 3 | public function __toString() : string |
|
14 | { |
||
15 | 3 | return (string)$this->nature; |
|
16 | } |
||
17 | |||
18 | 15 | public function hydrateXml(\SimpleXMLElement $xml) |
|
22 | |||
23 | /** |
||
24 | * @return string |
||
25 | */ |
||
26 | 6 | public function getNature(): string |
|
30 | } |
||
31 |