public function setApiKey($apiKey) { $this->apiKey = $apiKey; }
protected function setUp() { // Load the app configuration $ini = parse_ini_file(__DIR__ . '/ApiKey.ini'); $apiKey = $ini['api_key']; $this->owm = new OpenWeatherMap(); $this->owm->setApiKey($apiKey); }