public static function LiveWeather::create in Live Weather 8
Same name and namespace in other branches
- 8.2 src/LiveWeather.php \Drupal\live_weather\LiveWeather::create()
File
- src/
LiveWeather.php, line 50 - Contains \Drupal\live_weather\LiveWeather.
Class
- LiveWeather
- Live weather.
Namespace
Drupal\live_weatherCode
public static function create(ContainerInterface $container) {
return new static($container
->get('http_client'), $container
->get('logger.factory'));
}