Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
18 | class PlusCode |
||
19 | { |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $globalCode; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private $compoundCode; |
||
29 | |||
30 | /** |
||
31 | * @param string $globalCode |
||
32 | * @param string $compoundCode |
||
33 | */ |
||
34 | public function __construct(string $globalCode, string $compoundCode) |
||
35 | { |
||
36 | $this->globalCode = $globalCode; |
||
37 | $this->compoundCode = $compoundCode; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getGlobalCode(): string |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getCompoundCode(): string |
||
56 |