Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | 1 | final class Category implements IXmlConvertible { |
|
12 | use \Nette\SmartObject; |
||
13 | |||
14 | public string $identifier; |
||
15 | public string $domain; |
||
16 | |||
17 | public function __construct(string $identifier, string $domain = "") { |
||
18 | 1 | $this->identifier = $identifier; |
|
19 | 1 | $this->domain = $domain; |
|
20 | 1 | } |
|
21 | |||
22 | public function appendToXml(\SimpleXMLElement &$parent): void { |
||
26 | } |
||
27 | 1 | } |
|
29 | ?> |