protected function getConfigFromName(string $name): array
    {
        $adapter = $this->resolvedOptions[static::CONFIG_LIST_NAME] ?? [];

        if (isset($adapter[$name]) && \is_array($adapter[$name])) {
            $config         = $adapter[$name];
            $config['name'] = $name;

            return $config;
        }

        return ['name' => $name];
    }
protected function getConfigFromName(string $name): array
    {
        $adapter = $this->resolvedOptions[static::CONFIG_LIST_NAME] ?? [];

        if (isset($adapter[$name]) && \is_array($adapter[$name])) {
            $config         = $adapter[$name];
            $config['name'] = $name;

            return $config;
        }

        return ['name' => $name];
    }
protected function getConfigFromName ( string $ name ) : array { $ adapter = $ this -> resolvedOptions [ static :: CONFIG_LIST_NAME ] ?? [ ] ; if ( isset ( $ adapter [ $ name ] ) && \ is_array ( $ adapter [ $ name ] ) ) { $ config = $ adapter [ $ name ] ; $ config [ 'name' ] = $ name ; return $ config ; } return [ 'name' => $ name ] ; }
Get config on adapter name.

@param string $name

@return array
Get config on adapter name .