PHP 클래스 Neos\Flow\Cache\CacheFactory

상속: extends Neos\Cache\CacheFactory, implements Neos\Cache\CacheFactoryInterface
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cacheManager CacheManager A reference to the cache manager
$context Neos\Flow\Core\ApplicationContext The current Flow context ("Production", "Development" etc.)
$environment Neos\Flow\Utility\Environment
$environmentConfiguration Neos\Cache\EnvironmentConfiguration

공개 메소드들

메소드 설명
__construct ( ApplicationContext $context, Environment $environment ) Constructs this cache factory
create ( string $cacheIdentifier, string $cacheObjectName, string $backendObjectName, array $backendOptions = [], boolean $persistent = false ) : Frontend\FrontendInterface
injectCacheManager ( CacheManager $cacheManager )
injectEnvironmentConfiguration ( EnvironmentConfiguration $environmentConfiguration )

보호된 메소드들

메소드 설명
instantiateBackend ( string $backendObjectName, array $backendOptions, boolean $persistent = false ) : AbstractBackend | Backend\BackendInterface
instantiateCache ( $cacheIdentifier, $cacheObjectName, $backend )
instantiateFlowSpecificBackend ( string $backendObjectName, array $backendOptions ) : AbstractBackend

메소드 상세

__construct() 공개 메소드

Constructs this cache factory
public __construct ( ApplicationContext $context, Environment $environment )
$context Neos\Flow\Core\ApplicationContext The current Flow context
$environment Neos\Flow\Utility\Environment

create() 공개 메소드

public create ( string $cacheIdentifier, string $cacheObjectName, string $backendObjectName, array $backendOptions = [], boolean $persistent = false ) : Frontend\FrontendInterface
$cacheIdentifier string
$cacheObjectName string
$backendObjectName string
$backendOptions array
$persistent boolean
리턴 Frontend\FrontendInterface

injectCacheManager() 공개 메소드

public injectCacheManager ( CacheManager $cacheManager )
$cacheManager CacheManager

injectEnvironmentConfiguration() 공개 메소드

public injectEnvironmentConfiguration ( EnvironmentConfiguration $environmentConfiguration )
$environmentConfiguration Neos\Cache\EnvironmentConfiguration

instantiateBackend() 보호된 메소드

protected instantiateBackend ( string $backendObjectName, array $backendOptions, boolean $persistent = false ) : AbstractBackend | Backend\BackendInterface
$backendObjectName string
$backendOptions array
$persistent boolean
리턴 Neos\Flow\Cache\Backend\AbstractBackend | Backend\BackendInterface

instantiateCache() 보호된 메소드

protected instantiateCache ( $cacheIdentifier, $cacheObjectName, $backend )

instantiateFlowSpecificBackend() 보호된 메소드

protected instantiateFlowSpecificBackend ( string $backendObjectName, array $backendOptions ) : AbstractBackend
$backendObjectName string
$backendOptions array
리턴 Neos\Flow\Cache\Backend\AbstractBackend

프로퍼티 상세

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

A reference to the cache manager
protected CacheManager,Neos\Flow\Cache $cacheManager
리턴 CacheManager

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

The current Flow context ("Production", "Development" etc.)
protected ApplicationContext,Neos\Flow\Core $context
리턴 Neos\Flow\Core\ApplicationContext

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

protected Environment,Neos\Flow\Utility $environment
리턴 Neos\Flow\Utility\Environment

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

protected EnvironmentConfiguration,Neos\Cache $environmentConfiguration
리턴 Neos\Cache\EnvironmentConfiguration