Property | Type | Description | |
---|---|---|---|
$cacheConfigurations | array | ||
$cacheFactory | |||
$caches | array | ||
$configurationManager | |||
$environment | |||
$persistentCaches | array | ||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface |
Method | Description | |
---|---|---|
flushCaches ( boolean $flushPersistentCaches = false ) : void | Flushes all registered caches | |
flushCachesByTag ( string $tag, boolean $flushPersistentCaches = false ) : void | Flushes entries tagged by the specified tag of all registered caches. | |
flushSystemCachesByChangedFiles ( string $fileMonitorIdentifier, array $changedFiles ) : void | Flushes entries tagged with class names if their class source files have changed. | |
getCache ( string $identifier ) : Neos\Cache\Frontend\FrontendInterface | Returns the cache specified by $identifier | |
getCacheConfigurations ( ) : array | Returns an array of cache configurations, indexed by cache identifier | |
getClassTag ( string $className = '' ) : string | Renders a tag which can be used to mark a cache entry as "depends on this class". | |
hasCache ( string $identifier ) : boolean | Checks if the specified cache has been registered. | |
injectCacheFactory ( |
||
injectConfigurationManager ( |
||
injectEnvironment ( |
||
injectSystemLogger ( Neos\Flow\Log\SystemLoggerInterface $systemLogger ) : void | ||
isCachePersistent ( string $identifier ) : boolean | Checks if the specified cache is marked as "persistent". | |
registerCache ( Neos\Cache\Frontend\FrontendInterface $cache, boolean $persistent = false ) : void | Registers a cache so it can be retrieved at a later point. | |
setCacheConfigurations ( array $cacheConfigurations ) : void | Sets configurations for caches. The key of each entry specifies the cache identifier and the value is an array of configuration options. |
Method | Description | |
---|---|---|
createAllCaches ( ) : void | Instantiates all registered caches. | |
createCache ( string $identifier ) : void | Instantiates the cache for $identifier. | |
flushClassCachesByChangedFiles ( array $changedFiles ) : void | Flushes entries tagged with class names if their class source files have changed. | |
flushConfigurationCachesByChangedFiles ( array $changedFiles ) : void | Flushes caches as needed if settings, routes or policies have changed | |
flushTranslationCachesByChangedFiles ( array $changedFiles ) : void | Flushes I18n caches if translation files have changed |
protected createAllCaches ( ) : void | ||
return | void |
protected createCache ( string $identifier ) : void | ||
$identifier | string | |
return | void |
public flushCaches ( boolean $flushPersistentCaches = false ) : void | ||
$flushPersistentCaches | boolean | If set to TRUE, even those caches which are flagged as "persistent" will be flushed |
return | void |
protected flushClassCachesByChangedFiles ( array $changedFiles ) : void | ||
$changedFiles | array | A list of full paths to changed files |
return | void |
protected flushConfigurationCachesByChangedFiles ( array $changedFiles ) : void | ||
$changedFiles | array | A list of full paths to changed files |
return | void |
protected flushTranslationCachesByChangedFiles ( array $changedFiles ) : void | ||
$changedFiles | array | A list of full paths to changed files |
return | void |
public getCacheConfigurations ( ) : array | ||
return | array |
public static getClassTag ( string $className = '' ) : string | ||
$className | string | The class name |
return | string | Class Tag |
public injectCacheFactory ( |
||
$cacheFactory | ||
return | void |
public injectConfigurationManager ( |
||
$configurationManager | ||
return | void |
public injectEnvironment ( |
||
$environment | ||
return | void |
public injectSystemLogger ( Neos\Flow\Log\SystemLoggerInterface $systemLogger ) : void | ||
$systemLogger | Neos\Flow\Log\SystemLoggerInterface | |
return | void |
public isCachePersistent ( string $identifier ) : boolean | ||
$identifier | string | The identifier of the cache |
return | boolean | TRUE if the specified cache is persistent, FALSE if it is not, or if the cache does not exist |
public registerCache ( Neos\Cache\Frontend\FrontendInterface $cache, boolean $persistent = false ) : void | ||
$cache | Neos\Cache\Frontend\FrontendInterface | The cache frontend to be registered |
$persistent | boolean | |
return | void |
public setCacheConfigurations ( array $cacheConfigurations ) : void | ||
$cacheConfigurations | array | The cache configurations to set |
return | void |
protected CacheFactory,Neos\Flow\Cache $cacheFactory | ||
return |
protected ConfigurationManager,Neos\Flow\Configuration $configurationManager | ||
return |
protected Environment,Neos\Flow\Utility $environment | ||
return |