Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ApiKeyService |
||
9 | { |
||
10 | // private $message = null; |
||
11 | private $ipkey = null; |
||
12 | private $weatherkey = null; |
||
13 | |||
14 | // public function setMessage(string $message) : void |
||
15 | // { |
||
16 | // $this->message = $message; |
||
17 | // } |
||
18 | |||
19 | 1 | public function setIpKey(string $ipkey) : void |
|
22 | 1 | } |
|
23 | |||
24 | 1 | public function setWeatherKey(string $weatherkey) : void |
|
25 | { |
||
26 | 1 | $this->weatherkey = $weatherkey; |
|
27 | 1 | } |
|
28 | |||
29 | // public function useService() : string |
||
30 | // { |
||
31 | // return "This service loads a message from the config file.<br>> '{$this->message}'"; |
||
32 | // } |
||
33 | |||
34 | 1 | public function getIpKey() |
|
35 | { |
||
36 | 1 | return $this->ipkey; |
|
37 | } |
||
38 | |||
39 | 1 | public function getWeatherKey() |
|
42 | } |
||
43 | } |
||
44 |