Collective\Remote\RemoteManager::getConfig PHP Method

getConfig() protected method

Get the configuration for a remote server.
protected getConfig ( string $name ) : array
$name string
return array
    protected function getConfig($name)
    {
        $config = $this->app['config']['remote.connections.' . $name];
        if (!is_null($config)) {
            return $config;
        }
        throw new \InvalidArgumentException("Remote connection [{$name}] not defined.");
    }