Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
63 | public function __construct(string $xml) |
||
64 | { |
||
65 | parent::__construct($xml); |
||
66 | $this->subdomain = (string) $this->getXml()->xpath('//subdomain')[0]; |
||
67 | $this->plan = (string) $this->getXml()->xpath('//plan')[0]; |
||
68 | $this->ownerId = (int) $this->getXml()->xpath('//owner-id')[0]; |
||
69 | $this->peopleCount = (int) $this->getXml()->xpath('//people-count')[0]; |
||
70 | $this->storage = (int) $this->getXml()->xpath('//storage')[0]; |
||
71 | $this->colorTheme = (string) $this->getXml()->xpath('//color_theme')[0]; |
||
72 | } |
||
140 |