src/AssetManager/Service/AssetCacheManager.php
private function getCacheProviderConfig($path)
    {
        $cacheProvider = null;

        if (!empty($this->config[$path]) && !empty($this->config[$path]['cache'])) {
            $cacheProvider = $this->config[$path];
        }

        if (!$cacheProvider
            && !empty($this->config['default'])
            && !empty($this->config['default']['cache'])
        ) {
            $cacheProvider = $this->config['default'];
        }

        return $cacheProvider;
    }
private function getCacheProviderConfig($path)
    {
        $cacheProvider = null;

        if (!empty($this->config[$path]) && !empty($this->config[$path]['cache'])) {
            $cacheProvider = $this->config[$path];
        }

        if (!$cacheProvider
            && !empty($this->config['default'])
            && !empty($this->config['default']['cache'])
        ) {
            $cacheProvider = $this->config['default'];
        }

        return $cacheProvider;
    }
private function getCacheProviderConfig ( $ path ) { $ cacheProvider = null ; if ( ! empty ( $ this -> config [ $ path ] ) && ! empty ( $ this -> config [ $ path ] [ 'cache' ] ) ) { $ cacheProvider = $ this -> config [ $ path ] ; } if ( ! $ cacheProvider && ! empty ( $ this -> config [ 'default' ] ) && ! empty ( $ this -> config [ 'default' ] [ 'cache' ] ) ) { $ cacheProvider = $ this -> config [ 'default' ] ; } return $ cacheProvider ; }
Get the cache provider config.  Use default values if defined.

@param $path

@return null|array Cache config definition.  Returns null if not found in
config.
Get the cache provider config . Use default values if defined .