Methods

Constructor

__construct(array | \Traversable | null $options) 
Inherited

inherited_from \Zend\Stdlib\AbstractOptions::__construct()
inherited_from \Zend\Serializer\Adapter\AdapterOptions::__construct()

Parameters

$options

array\Traversablenull

Get a configuration property

__get(string $key) : mixed
Inherited

see \Zend\Stdlib\ParameterObject::__get()
inherited_from \Zend\Stdlib\AbstractOptions::__get()
inherited_from \Zend\Serializer\Adapter\AdapterOptions::__get()

Parameters

$key

string

Exceptions

\Zend\Stdlib\Exception\BadMethodCallException

Returns

mixed

Test if a configuration property is null

__isset(string $key) : bool
Inherited

see \Zend\Stdlib\ParameterObject::__isset()
inherited_from \Zend\Stdlib\AbstractOptions::__isset()
inherited_from \Zend\Serializer\Adapter\AdapterOptions::__isset()

Parameters

$key

string

Returns

bool

Set a configuration property

__set(string $key, mixed $value) : void
Inherited

see \Zend\Stdlib\ParameterObject::__set()
inherited_from \Zend\Stdlib\AbstractOptions::__set()
inherited_from \Zend\Serializer\Adapter\AdapterOptions::__set()

Parameters

$key

string

$value

mixed

Exceptions

\Zend\Stdlib\Exception\BadMethodCallException

Set a configuration property to NULL

__unset(string $key) : void
Inherited

see \Zend\Stdlib\ParameterObject::__unset()
inherited_from \Zend\Stdlib\AbstractOptions::__unset()
inherited_from \Zend\Serializer\Adapter\AdapterOptions::__unset()

Parameters

$key

string

Exceptions

\Zend\Stdlib\Exception\InvalidArgumentException

getCycleCheck()

getCycleCheck() : bool

Returns

bool

getEnableJsonExprFinder()

getEnableJsonExprFinder() : bool

Returns

bool

getObjectDecodeType()

getObjectDecodeType() : int

Returns

int

setCycleCheck()

setCycleCheck(bool $flag) : \Zend\Serializer\Adapter\JsonOptions

Parameters

$flag

bool

Returns

setEnableJsonExprFinder()

setEnableJsonExprFinder(bool $flag) : \Zend\Serializer\Adapter\JsonOptions

Parameters

$flag

bool

Returns

Set one or more configuration properties

setFromArray(array | \Traversable | \Zend\Stdlib\AbstractOptions $options) : \Zend\Stdlib\AbstractOptions
Inherited

inherited_from \Zend\Stdlib\AbstractOptions::setFromArray()
inherited_from \Zend\Serializer\Adapter\AdapterOptions::setFromArray()

Parameters

$options

array\Traversable\Zend\Stdlib\AbstractOptions

Exceptions

\Zend\Stdlib\Exception\InvalidArgumentException

Returns

\Zend\Stdlib\AbstractOptionsProvides fluent interface

setObjectDecodeType()

setObjectDecodeType(int $type) : \Zend\Serializer\Adapter\JsonOptions

Cast to array

toArray() : array
Inherited

inherited_from \Zend\Stdlib\AbstractOptions::toArray()
inherited_from \Zend\Serializer\Adapter\AdapterOptions::toArray()

Returns

array

 Properties

 

We use the __ prefix to avoid collisions with properties in user-implementations.

$__strictMode__ : bool
Inherited

inherited_from \Zend\Stdlib\AbstractOptions::$$__strictMode__
inherited_from \Zend\Serializer\Adapter\AdapterOptions::$$__strictMode__
 

$cycleCheck

$cycleCheck : int

 

$enableJsonExprFinder

$enableJsonExprFinder 

 

$objectDecodeType

$objectDecodeType