private function createConfigFromFile(string $configFile) : Config
    {
        $ini = parse_ini_file($configFile);
        return new Config($ini['token'] ?? '', $ini['provider'] ?? Config::PROVIDER_GITHUB);
    }
private function createConfigFromFile(string $configFile) : Config
    {
        $ini = parse_ini_file($configFile);
        return new Config($ini['token'] ?? '', $ini['provider'] ?? Config::PROVIDER_GITHUB);
    }
private function createConfigFromFile ( string $ configFile ) : Config { $ ini = parse_ini_file ( $ configFile ) ; return new Config ( $ ini [ 'token' ] ?? '' , $ ini [ 'provider' ] ?? Config :: PROVIDER_GITHUB ) ; }
Parses the config file and returns a populated Config instance.
Parses the config file and returns a populated Config instance .