Zend\Serializer\Serializer::unserialize
Creates a PHP value from a stored representation using the default adapter.
Optionally different adapter could be provided as second argument
Signature
public function unserialize(string
$serialized,
[string|Adapter
$adapter = null,
[Traversable|null
$adapterOptions = null]] )
Parameters
$serialized
— string$adapter
— object
$adapterOptions
— object- Adapter constructor options
only used to create adapter instance
Returns
- mixed