Neos\Cache\CacheFactory::create PHP Метод

create() публичный Метод

After creating the cache, it will be registered at the cache manager.
public create ( string $cacheIdentifier, string $cacheObjectName, string $backendObjectName, array $backendOptions = [] ) : Neos\Cache\Frontend\FrontendInterface
$cacheIdentifier string The name / identifier of the cache to create
$cacheObjectName string Object name of the cache frontend
$backendObjectName string Object name of the cache backend
$backendOptions array (optional) Array of backend options
Результат Neos\Cache\Frontend\FrontendInterface The created cache frontend
    public function create($cacheIdentifier, $cacheObjectName, $backendObjectName, array $backendOptions = [])
    {
        $backend = $this->instantiateBackend($backendObjectName, $backendOptions);
        $cache = $this->instantiateCache($cacheIdentifier, $cacheObjectName, $backend);
        $backend->setCache($cache);
        return $cache;
    }