PHP Interface Neos\Cache\CacheFactoryInterface

Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
create ( string $cacheIdentifier, string $cacheObjectName, string $backendObjectName, array $backendOptions = [] ) : Neos\Cache\Frontend\FrontendInterface Factory method which creates the specified cache along with the specified kind of backend.

Method Details

create() public méthode

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
Résultat Neos\Cache\Frontend\FrontendInterface The created cache frontend