Zend\Cache\Storage\Plugin\PluginOptions
Synopsis
class PluginOptions
extends AbstractOptions
{
- // members
- protected integer $clearingFactor;
- protected callable $exceptionCallback;
- protected bool $exitOnAbort;
- protected integer $optimizingFactor;
- protected string|SerializerAdapter $serializer;
- protected array $serializerOptions;
- protected bool $throwExceptions;
- // Inherited members from AbstractOptions
- protected bool $__strictMode__;
- // methods
- public PluginOptions setClearingFactor()
- public int getClearingFactor()
- public PluginOptions setExceptionCallback()
- public null|callable getExceptionCallback()
- public PluginOptions setExitOnAbort()
- public bool getExitOnAbort()
- public PluginOptions setOptimizingFactor()
- public int getOptimizingFactor()
- public Serializer setSerializer()
- public AdapterInterface getSerializer()
- public PluginOptions setSerializerOptions()
- public array getSerializerOptions()
- public PluginOptions setThrowExceptions()
- public bool getThrowExceptions()
- protected int normalizeFactor()
- // Inherited methods from AbstractOptions
- public void __construct()
- public AbstractOptions setFromArray()
- public array toArray()
- public void __set()
- public mixed __get()
- public bool __isset()
- public void __unset()
Hierarchy
Extends
Members
protected
- $__strictMode__
—
Zend\Stdlib\bool
We use the __ prefix to avoid collisions with properties in user-implementations. - $clearingFactor
—
int
Used by: - ClearByFactor - $exceptionCallback
—
Zend\Cache\Storage\Plugin\callable
Used by: - ExceptionHandler - $exitOnAbort
—
Zend\Cache\Storage\Plugin\bool
Used by: - IgnoreUserAbort - $optimizingFactor
—
int
Used by: - OptimizeByFactor - $serializer
—
Zend\Cache\Storage\Plugin\string|SerializerAdapter
Used by: - Serializer - $serializerOptions
—
array
Used by: - Serializer - $throwExceptions
—
Zend\Cache\Storage\Plugin\bool
Used by: - ExceptionHandler
Methods
protected
- normalizeFactor() — Normalize a factor
public
- getClearingFactor() — Get automatic clearing factor
- getExceptionCallback() — Get callback to call on intercepted exception
- getExitOnAbort() — Exit if connection aborted and ignore_user_abort is disabled.
- getOptimizingFactor() — Set automatic optimizing factor
- getSerializer() — Get serializer
- getSerializerOptions() — Get configuration options for instantiating a serializer adapter
- getThrowExceptions() — Should we re-throw exceptions?
- setClearingFactor() — Set automatic clearing factor
- setExceptionCallback() — Set callback to call on intercepted exception
- setExitOnAbort() — Exit if connection aborted and ignore_user_abort is disabled.
- setOptimizingFactor() — Set automatic optimizing factor
- setSerializer() — Set serializer
- setSerializerOptions() — Set configuration options for instantiating a serializer adapter
- setThrowExceptions() — Set flag indicating we should re-throw exceptions