PHP Class Neos\FluidAdaptor\Core\Cache\CacheAdaptor

Inheritance: implements TYPO3Fluid\Fluid\Core\Cache\FluidCacheInterface
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$flowCache Neos\Cache\Frontend\PhpFrontend

Public Methods

Method Description
flush ( string | null $name = null ) : boolean | void Flushes the cache either by entry or flushes the entire cache if no entry is provided.
get ( string $name ) : string Gets an entry from the cache or NULL if the entry does not exist.
getCacheWarmer ( ) : TYPO3Fluid\Fluid\Core\Cache\FluidCacheWarmerInterface Get an instance of FluidCacheWarmerInterface which can warm up template files that would normally be cached on-the-fly to this FluidCacheInterface implementaion.
set ( string $name, string $value ) Set or updates an entry identified by $name into the cache.

Method Details

flush() public method

Flushes the cache either by entry or flushes the entire cache if no entry is provided.
public flush ( string | null $name = null ) : boolean | void
$name string | null
return boolean | void

get() public method

Gets an entry from the cache or NULL if the entry does not exist.
public get ( string $name ) : string
$name string
return string

getCacheWarmer() public method

Get an instance of FluidCacheWarmerInterface which can warm up template files that would normally be cached on-the-fly to this FluidCacheInterface implementaion.
public getCacheWarmer ( ) : TYPO3Fluid\Fluid\Core\Cache\FluidCacheWarmerInterface
return TYPO3Fluid\Fluid\Core\Cache\FluidCacheWarmerInterface

set() public method

Set or updates an entry identified by $name into the cache.
public set ( string $name, string $value )
$name string
$value string

Property Details

$flowCache protected property

protected PhpFrontend,Neos\Cache\Frontend $flowCache
return Neos\Cache\Frontend\PhpFrontend