public function __construct()
 {
     parent::__construct();
     $this->appid = Config::getSafe('openweathermap_appid', '');
     if ($this->appid) {
         $this->context_params['http']['header'] = 'x-api-key: ' . $this->appid;
     }
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
 }