Total Complexity | 4 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class StoreSiteSelectorChoice |
||
14 | { |
||
15 | private $country; |
||
16 | private $siteUrl; |
||
17 | private $appTouchSite; |
||
18 | |||
19 | 14 | public function __construct(string $country, string $siteUrl, bool $appTouchSite) |
|
20 | { |
||
21 | 14 | $this->country = $country; |
|
22 | 14 | $this->siteUrl = $siteUrl; |
|
23 | 14 | $this->appTouchSite = $appTouchSite; |
|
24 | 14 | } |
|
25 | |||
26 | /** |
||
27 | * @return string |
||
28 | */ |
||
29 | 14 | public function getCountry(): string |
|
30 | { |
||
31 | 14 | return $this->country; |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return string |
||
36 | */ |
||
37 | 14 | public function getSiteUrl(): string |
|
38 | { |
||
39 | 14 | return $this->siteUrl; |
|
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return bool |
||
44 | */ |
||
45 | 14 | public function isAppTouchSite(): bool |
|
48 | } |
||
49 | } |
||
50 |