Total Complexity | 5 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | class FindComplexRequest |
||
17 | { |
||
18 | use ToArray; |
||
19 | |||
20 | /** |
||
21 | * @var int |
||
22 | */ |
||
23 | private int $siteId; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private string $name; |
||
29 | |||
30 | 3 | public function __construct(int $siteId, string $name) |
|
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param int $siteId |
||
38 | */ |
||
39 | 3 | public function setSiteId(int $siteId): void |
|
40 | { |
||
41 | 3 | $this->siteId = $siteId; |
|
42 | } |
||
43 | |||
44 | /** |
||
45 | * @return int |
||
46 | */ |
||
47 | 1 | public function getSiteId(): int |
|
48 | { |
||
49 | 1 | return $this->siteId; |
|
50 | } |
||
51 | |||
52 | /** |
||
53 | * @param string $name |
||
54 | */ |
||
55 | 3 | public function setName(string $name): void |
|
56 | { |
||
57 | 3 | $this->name = $name; |
|
58 | } |
||
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | */ |
||
63 | 1 | public function getName(): string |
|
66 | } |
||
67 | } |
||
68 |