package Default
inherited_from \Zend\Serializer\Adapter\AdapterOptions

 Methods

Constructor

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

Parameters

$options

array\Traversablenull

Get a configuration property

__get(string $key) : mixed
Inherited
see
inherited_from \Zend\Stdlib\ParameterObjectInterface::__get()

Parameters

$key

string

Exceptions

\Zend\Stdlib\Exception\BadMethodCallException

Returns

mixed

Test if a configuration property is null

__isset(string $key) : boolean
Inherited
see
inherited_from \Zend\Stdlib\ParameterObjectInterface::__isset()

Parameters

$key

string

Returns

boolean

Set a configuration property

__set(string $key, mixed $value) : void
Inherited
see
inherited_from \Zend\Stdlib\ParameterObjectInterface::__set()

Parameters

$key

string

$value

mixed

Exceptions

\Zend\Stdlib\Exception\BadMethodCallException

Set a configuration property to NULL

__unset(string $key) : void
Inherited
see
inherited_from \Zend\Stdlib\ParameterObjectInterface::__unset()

Parameters

$key

string

Exceptions

\Zend\Stdlib\Exception\InvalidArgumentException

getCycleCheck()

getCycleCheck() : boolean

Returns

boolean

getEnableJsonExprFinder()

getEnableJsonExprFinder() : boolean

Returns

boolean

getObjectDecodeType()

getObjectDecodeType() : integer

Returns

integer

setCycleCheck()

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

Parameters

$flag

boolean

Returns

\Zend\Serializer\Adapter\JsonOptions

setEnableJsonExprFinder()

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

Parameters

$flag

boolean

Returns

\Zend\Serializer\Adapter\JsonOptions

Set one or more configuration properties

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

Parameters

$options

array\Traversable\Zend\Stdlib\AbstractOptions

Exceptions

\Zend\Stdlib\Exception\InvalidArgumentException

Returns

\Zend\Stdlib\AbstractOptionsProvides fluent interface

setObjectDecodeType()

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

Parameters

$type

integer

Exceptions

\Zend\Serializer\Exception\InvalidArgumentException

Returns

\Zend\Serializer\Adapter\JsonOptions

Cast to array

toArray() : array
Inherited

Returns

array

 Properties

 

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

$__strictMode__ : boolean

Default

true
 

$cycleCheck

$cycleCheck : integer

Default

false
 

$enableJsonExprFinder

$enableJsonExprFinder 

Default

false
 

$objectDecodeType

$objectDecodeType 

Default

\Zend\Json\Json::TYPE_ARRAY