Fully Qualified Name: | Zend\Cache\Storage\Plugin\PluginOptions |
Extends: | AbstractOptions |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | AbstractOptions |
__get() | Get a configuration property | AbstractOptions |
__isset() | Test if a configuration property is null | AbstractOptions |
__set() | Set a configuration property | AbstractOptions |
__unset() | Set a configuration property to NULL | AbstractOptions |
getClearingFactor() | Get automatic clearing factor | PluginOptions |
getExceptionCallback() | Get callback to call on intercepted exception | PluginOptions |
getExitOnAbort() | Exit if connection aborted and ignore_user_abort is disabled. | PluginOptions |
getOptimizingFactor() | Set automatic optimizing factor | PluginOptions |
getSerializer() | Get serializer | PluginOptions |
getSerializerOptions() | Get configuration options for instantiating a serializer adapter | PluginOptions |
getThrowExceptions() | Should we re-throw exceptions? | PluginOptions |
setClearingFactor() | Set automatic clearing factor | PluginOptions |
setExceptionCallback() | Set callback to call on intercepted exception | PluginOptions |
setExitOnAbort() | Exit if connection aborted and ignore_user_abort is disabled. | PluginOptions |
setFromArray() | Set one or more configuration properties | AbstractOptions |
setOptimizingFactor() | Set automatic optimizing factor | PluginOptions |
setSerializer() | Set serializer | PluginOptions |
setSerializerOptions() | Set configuration options for instantiating a serializer adapter | PluginOptions |
setThrowExceptions() | Set flag indicating we should re-throw exceptions | PluginOptions |
toArray() | Cast to array | AbstractOptions |
Constructor
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable|null |
Returns:
Get a configuration property
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: mixed
Test if a configuration property is null
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: bool
Set a configuration property
Parameter Name | Type | Description |
---|---|---|
$key | string | |
$value | mixed |
Returns: void
Set a configuration property to NULL
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: void
Get automatic clearing factor
Used by:
Returns: int
Get callback to call on intercepted exception
Used by:
Returns: null|callable
Exit if connection aborted and ignore_user_abort is disabled.
Returns: bool
Set automatic optimizing factor
Used by:
Returns: int
Get serializer
Used by:
Returns: \SerializerAdapter
Get configuration options for instantiating a serializer adapter
Used by:
Returns: array
Should we re-throw exceptions?
Used by:
Returns: bool
Set automatic clearing factor
Used by:
Parameter Name | Type | Description |
---|---|---|
$clearingFactor | int |
Returns: \PluginOptions Provides a fluent interface
Set callback to call on intercepted exception
Used by:
Parameter Name | Type | Description |
---|---|---|
$exceptionCallback | null|callable |
Returns: \PluginOptions Provides a fluent interface
Exit if connection aborted and ignore_user_abort is disabled.
Parameter Name | Type | Description |
---|---|---|
$exitOnAbort | bool |
Returns: \PluginOptions Provides a fluent interface
Set one or more configuration properties
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable|\AbstractOptions |
Returns: \AbstractOptions Provides fluent interface
Set automatic optimizing factor
Used by:
Parameter Name | Type | Description |
---|---|---|
$optimizingFactor | int |
Returns: \PluginOptions Provides a fluent interface
Set serializer
Used by:
Parameter Name | Type | Description |
---|---|---|
$serializer | string|\SerializerAdapter |
Returns: \PluginOptions Provides a fluent interface
Set configuration options for instantiating a serializer adapter
Used by:
Parameter Name | Type | Description |
---|---|---|
$serializerOptions | mixed |
Returns: \PluginOptions Provides a fluent interface
Set flag indicating we should re-throw exceptions
Used by:
Parameter Name | Type | Description |
---|---|---|
$throwExceptions | bool |
Returns: \PluginOptions Provides a fluent interface
Cast to array
Returns: array