PHP 인터페이스 Neos\Cache\CacheFactoryInterface

파일 보기 프로젝트 열기: neos/flow-development-collection

공개 메소드들

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

메소드 상세

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