| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class FindComplexRequest |
||
| 18 | { |
||
| 19 | use ToArray; |
||
|
|
|||
| 20 | |||
| 21 | private int $siteId; |
||
| 22 | |||
| 23 | private string $name; |
||
| 24 | |||
| 25 | 3 | public function __construct(int $siteId, string $name) |
|
| 26 | { |
||
| 27 | 3 | $this->setSiteId($siteId); |
|
| 28 | 3 | $this->setName($name); |
|
| 29 | } |
||
| 30 | |||
| 31 | 3 | public function setSiteId(int $siteId): void |
|
| 32 | { |
||
| 33 | 3 | $this->siteId = $siteId; |
|
| 34 | } |
||
| 35 | |||
| 36 | 1 | public function getSiteId(): int |
|
| 37 | { |
||
| 38 | 1 | return $this->siteId; |
|
| 39 | } |
||
| 40 | |||
| 41 | 3 | public function setName(string $name): void |
|
| 42 | { |
||
| 43 | 3 | $this->name = $name; |
|
| 44 | } |
||
| 45 | |||
| 46 | 1 | public function getName(): string |
|
| 49 | } |
||
| 50 | } |
||
| 51 |