public static function createFromEdgeRcFile($section = 'default', $path = null, array $config = [])
    {
        $auth = \Akamai\Open\EdgeGrid\Authentication::createFromEdgeRcFile($section, $path);

        if ($host = $auth->getHost()) {
            $config['base_uri'] = 'https://' . $host;
        }

        return new static($config, $auth);
    }
public static function createFromEdgeRcFile($section = 'default', $path = null, array $config = [])
    {
        $auth = \Akamai\Open\EdgeGrid\Authentication::createFromEdgeRcFile($section, $path);

        if ($host = $auth->getHost()) {
            $config['base_uri'] = 'https://' . $host;
        }

        return new static($config, $auth);
    }
public static function createFromEdgeRcFile ( $ section = 'default' , $ path = null , array $ config = [ ] ) { $ auth = \ Akamai \ Open \ EdgeGrid \ Authentication :: createFromEdgeRcFile ( $ section , $ path ) ; if ( $ host = $ auth -> getHost ( ) ) { $ config [ 'base_uri' ] = 'https://' . $ host ; } return new static ( $ config , $ auth ) ; }
Factory method to create a client using credentials from `.edgerc`

Automatically checks your HOME directory, and the current working
directory for credentials, if no path is supplied.

@param string $section Credential section to use
@param string $path Path to .edgerc credentials file
@param array $config Options to pass to the constructor/guzzle
@return \Akamai\Open\EdgeGrid\Client
Factory method to create a client using credentials from . edgerc