Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
51 | public function __construct(string $xml) |
||
52 | { |
||
53 | parent::__construct($xml); |
||
54 | $this->subdomain = (string) $this->getXml()->xpath('//subdomain')[0]; |
||
55 | $this->plan = (string) $this->getXml()->xpath('//plan')[0]; |
||
56 | $this->ownerId = (int) $this->getXml()->xpath('//owner-id')[0]; |
||
57 | $this->peopleCount = (int) $this->getXml()->xpath('//people-count')[0]; |
||
58 | $this->storage = (int) $this->getXml()->xpath('//storage')[0]; |
||
59 | $this->colorTheme = (string) $this->getXml()->xpath('//color_theme')[0]; |
||
60 | } |
||
118 |