PHP 클래스 Neos\FluidAdaptor\Core\Cache\CacheAdaptor

상속: implements TYPO3Fluid\Fluid\Core\Cache\FluidCacheInterface
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$flowCache Neos\Cache\Frontend\PhpFrontend

공개 메소드들

메소드 설명
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.

메소드 상세

flush() 공개 메소드

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
리턴 boolean | void

get() 공개 메소드

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

getCacheWarmer() 공개 메소드

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
리턴 TYPO3Fluid\Fluid\Core\Cache\FluidCacheWarmerInterface

set() 공개 메소드

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

프로퍼티 상세

$flowCache 보호되어 있는 프로퍼티

protected PhpFrontend,Neos\Cache\Frontend $flowCache
리턴 Neos\Cache\Frontend\PhpFrontend