PHP Class Neos\Flow\Cache\Backend\AbstractBackend

See also: Neos\Cache\Backend\AbstractBackend
Deprecation: This is replaced by \Neos\Cache\Backend\AbstractBackend which has a different constructor, you need to adapt any custom cache backend to that.
Inheritance: extends Neos\Cache\Backend\AbstractBackend, implements Neos\Cache\Backend\BackendInterface, implements FlowSpecificBackendInterface
ファイルを表示 Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$context Neos\Flow\Core\ApplicationContext The current application context
$environment Neos\Flow\Utility\Environment

Public Methods

Method Description
__construct ( ApplicationContext $context, array $options = [], EnvironmentConfiguration $environmentConfiguration = null ) Constructs this backend
injectEnvironment ( Environment $environment ) : void Injects the Environment object

Method Details

__construct() public method

Constructs this backend
Deprecation: Use AbstractBackend instead
public __construct ( ApplicationContext $context, array $options = [], EnvironmentConfiguration $environmentConfiguration = null )
$context Neos\Flow\Core\ApplicationContext Flow's application context
$options array Configuration options - depends on the actual backend
$environmentConfiguration Neos\Cache\EnvironmentConfiguration

injectEnvironment() public method

Injects the Environment object
public injectEnvironment ( Environment $environment ) : void
$environment Neos\Flow\Utility\Environment
return void

Property Details

$context protected_oe property

The current application context
protected ApplicationContext,Neos\Flow\Core $context
return Neos\Flow\Core\ApplicationContext

$environment protected_oe property

protected Environment,Neos\Flow\Utility $environment
return Neos\Flow\Utility\Environment