Zend Framework
3.0
|
Public Member Functions | |
setClearingFactor ($clearingFactor) | |
Set automatic clearing factor. | |
getClearingFactor () | |
Get automatic clearing factor. | |
setExceptionCallback ($exceptionCallback) | |
Set callback to call on intercepted exception. | |
getExceptionCallback () | |
Get callback to call on intercepted exception. | |
setExitOnAbort ($exitOnAbort) | |
Exit if connection aborted and ignore_user_abort is disabled. | |
getExitOnAbort () | |
Exit if connection aborted and ignore_user_abort is disabled. | |
setOptimizingFactor ($optimizingFactor) | |
Set automatic optimizing factor. | |
getOptimizingFactor () | |
Set automatic optimizing factor. | |
setSerializer ($serializer) | |
Set serializer. | |
getSerializer () | |
Get serializer. | |
setSerializerOptions ($serializerOptions) | |
Set configuration options for instantiating a serializer adapter. | |
getSerializerOptions () | |
Get configuration options for instantiating a serializer adapter. | |
setThrowExceptions ($throwExceptions) | |
Set flag indicating we should re-throw exceptions. | |
getThrowExceptions () | |
Should we re-throw exceptions? | |
Public Member Functions inherited from AbstractOptions | |
__construct ($options=null) | |
Constructor. | |
setFromArray ($options) | |
Set one or more configuration properties. | |
toArray () | |
Cast to array. | |
__set ($key, $value) | |
Set a configuration property. | |
__get ($key) | |
Get a configuration property. | |
__isset ($key) | |
Test if a configuration property is null. | |
__unset ($key) | |
Set a configuration property to NULL. | |
Protected Member Functions | |
normalizeFactor ($factor) | |
Normalize a factor. | |
Protected Attributes | |
$clearingFactor = 0 | |
$exceptionCallback | |
$exitOnAbort = true | |
$optimizingFactor = 0 | |
$serializer | |
$serializerOptions = [] | |
$throwExceptions = true | |
Protected Attributes inherited from AbstractOptions | |
$__strictMode__ = true | |
getClearingFactor | ( | ) |
getExceptionCallback | ( | ) |
getExitOnAbort | ( | ) |
Exit if connection aborted and ignore_user_abort is disabled.
getOptimizingFactor | ( | ) |
getSerializer | ( | ) |
getSerializerOptions | ( | ) |
getThrowExceptions | ( | ) |
|
protected |
Normalize a factor.
Cast to int and ensure we have a value greater than zero.
int | $factor |
Exception\InvalidArgumentException |
setClearingFactor | ( | $clearingFactor | ) |
setExceptionCallback | ( | $exceptionCallback | ) |
Set callback to call on intercepted exception.
Used by:
null | callable | $exceptionCallback |
Exception\InvalidArgumentException |
setExitOnAbort | ( | $exitOnAbort | ) |
Exit if connection aborted and ignore_user_abort is disabled.
bool | $exitOnAbort |
setOptimizingFactor | ( | $optimizingFactor | ) |
setSerializer | ( | $serializer | ) |
Set serializer.
Used by:
string | SerializerAdapter | $serializer |
Exception\InvalidArgumentException |
setSerializerOptions | ( | $serializerOptions | ) |
Set configuration options for instantiating a serializer adapter.
Used by:
mixed | $serializerOptions |
setThrowExceptions | ( | $throwExceptions | ) |
Set flag indicating we should re-throw exceptions.
Used by:
bool | $throwExceptions |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |