Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class CallUrlModel implements ContainerInjectableInterface |
||
11 | { |
||
12 | use IpModelTrait; |
||
13 | use GeoModelTrait; |
||
14 | use WeatherModelTrait; |
||
15 | use ContainerInjectableTrait; |
||
16 | |||
17 | /** |
||
18 | * Constructor to set the IpAddress. |
||
19 | * |
||
20 | * @param string $ipAddress The ip address to be stored. |
||
21 | */ |
||
22 | 27 | public function __construct(string $ipAddress = null) |
|
26 | 27 | } |
|
27 | |||
28 | /** |
||
29 | * [setDarkskyKey description] |
||
30 | * |
||
31 | * @param string $key [description] |
||
32 | */ |
||
33 | 27 | public function setIpstackKey($key) |
|
34 | { |
||
35 | 27 | $this->ipstackkey = $key; |
|
36 | 27 | } |
|
37 | |||
38 | /** |
||
39 | * [setIpAddress description] |
||
40 | * |
||
41 | * @param string|null $ipAddress [description] |
||
42 | */ |
||
43 | 27 | public function setIpAddress(string $ipAddress = null) |
|
46 | 27 | } |
|
47 | } |
||
48 |