| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class WeatherApiController implements ContainerInjectableInterface |
||
| 10 | { |
||
| 11 | use ContainerInjectableTrait; |
||
| 12 | |||
| 13 | public function indexAction() |
||
| 14 | { |
||
| 15 | $page = $this->di->get('page'); |
||
| 16 | $page->add('anax/weather/api'); |
||
| 17 | |||
| 18 | return $page->render([ |
||
| 19 | 'title' => 'Weather', |
||
| 20 | ]); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function forecastAction() |
||
| 35 | } |
||
| 36 | } |
||
| 37 |