Methods
Constructor
__construct(array | \Traversable | null $options)
Parameters
$options
array\Traversablenull
Get a configuration property
__get(string $key) : mixed
Inherited
see |
\Zend\Stdlib\ParameterObject::__get() |
inherited_from |
\Zend\Stdlib\AbstractOptions::__get() |
Parameters
$key
string
Exceptions
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() |
Parameters
$key
string
Returns
bool
Override AbstractOptions::__set
__set(string $key, mixed $value) : void
Validates value if save options are being set.
Parameters
$key
string
$value
mixed
Exceptions
Set a configuration property to NULL
__unset(string $key) : void
Inherited
see |
\Zend\Stdlib\ParameterObject::__unset() |
inherited_from |
\Zend\Stdlib\AbstractOptions::__unset() |
Parameters
$key
string
Exceptions
Get collection name
getCollection() : string
Get data field
getDataField() : string
Get database name
getDatabase() : string
Get lifetime Field
getLifetimeField() : string
Get modified Field
getModifiedField() : string
Get name field
getNameField() : string
Get save options
getSaveOptions() : string
Set save options
setSaveOptions(array $saveOptions) : \Zend\Session\SaveHandler\MongoDBOptions
see |
\Zend\Session\SaveHandler\http://php.net/manual/en/mongocollection.save.php |
Parameters
$saveOptions
array
Returns
Cast to array
toArray() : array
Inherited
inherited_from |
\Zend\Stdlib\AbstractOptions::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__ |
Collection name
$collection : string
Data field
$dataField : string
Database name
$database : string
Lifetime field
$lifetimeField : string
Modified field
$modifiedField : string
Name field
$nameField : string
Save options
$saveOptions : string
see |
\Zend\Session\SaveHandler\http://php.net/manual/en/mongocollection.save.php |