protected function getConfig(string $name): array
    {
        if (isset($this->app['config']['self-update']['repository_types'][$name])) {
            return $this->app['config']['self-update']['repository_types'][$name];
        }

        return [];
    }
protected function getConfig(string $name): array
    {
        if (isset($this->app['config']['self-update']['repository_types'][$name])) {
            return $this->app['config']['self-update']['repository_types'][$name];
        }

        return [];
    }
protected function getConfig ( string $ name ) : array { if ( isset ( $ this -> app [ 'config' ] [ 'self-update' ] [ 'repository_types' ] [ $ name ] ) ) { return $ this -> app [ 'config' ] [ 'self-update' ] [ 'repository_types' ] [ $ name ] ; } return [ ] ; }
Get the source repository connection configuration.

@param string $name

@return array
Get the source repository connection configuration .