| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | 1 | final class Category { |
|
| 14 | 1 | use \Nette\SmartObject; |
|
| 15 | |||
| 16 | /** @var string */ |
||
| 17 | protected $identifier; |
||
| 18 | /** @var string */ |
||
| 19 | protected $domain; |
||
| 20 | |||
| 21 | public function __construct(string $identifier, string $domain = "") { |
||
| 24 | 1 | } |
|
| 25 | |||
| 26 | public function getIdentifier(): string { |
||
| 27 | 1 | return $this->identifier; |
|
| 28 | } |
||
| 29 | |||
| 30 | public function setIdentifier(string $identifier): void { |
||
| 31 | 1 | $this->identifier = $identifier; |
|
| 32 | 1 | } |
|
| 33 | |||
| 34 | public function getDomain(): string { |
||
| 36 | } |
||
| 37 | |||
| 38 | public function setDomain(string $domain): void { |
||
| 40 | 1 | } |
|
| 41 | } |
||
| 42 | ?> |