Cmfcmf\OpenWeatherMap\IntegTests\CurrentWeatherTest::setUp PHP Метод

setUp() защищенный Метод

protected setUp ( )
    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);
    }