| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 73.68% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class WeatherAPIController implements ContainerInjectableInterface |
||
| 9 | { |
||
| 10 | use ContainerInjectableTrait; |
||
| 11 | |||
| 12 | protected $weather = null; |
||
| 13 | protected $validator = null; |
||
| 14 | |||
| 15 | public function initialize() |
||
| 16 | { |
||
| 17 | $this->weather = $this->di->get("weather"); |
||
| 18 | $this->validator = $this->di->get("ipValidator"); |
||
| 19 | } |
||
| 20 | |||
| 21 | 1 | public function indexActionPost() : array |
|
| 45 | } |
||
| 46 | } |
||
| 47 |