private function createFileCache($subClassName, array $cacheConfig, ContainerBuilder $container)
    {
        $cacheDir = $this->getFileCacheDir($cacheConfig, $container);
        Utility::appendParameter('dirs', 'metadata_cache_dir', $cacheDir, $container);

        return new Definition(
            Utility::getLibraryClass($subClassName),
            [$cacheDir]
        );
    }
private function createFileCache($subClassName, array $cacheConfig, ContainerBuilder $container)
    {
        $cacheDir = $this->getFileCacheDir($cacheConfig, $container);
        Utility::appendParameter('dirs', 'metadata_cache_dir', $cacheDir, $container);

        return new Definition(
            Utility::getLibraryClass($subClassName),
            [$cacheDir]
        );
    }
private function createFileCache ( $ subClassName , array $ cacheConfig , ContainerBuilder $ container ) { $ cacheDir = $ this -> getFileCacheDir ( $ cacheConfig , $ container ) ; Utility :: appendParameter ( 'dirs' , 'metadata_cache_dir' , $ cacheDir , $ container ) ; return new Definition ( Utility :: getLibraryClass ( $ subClassName ) , [ $ cacheDir ] ) ; }
Creates a file cache service definition.

@param   string              $subClassName
@param   array               $cacheConfig
@param   ContainerBuilder    $container
@return  Definition
Creates a file cache service definition .