factory()
getAdapterPluginManager()
getDefaultAdapter()
resetAdapterPluginManager()
serialize()
setAdapterPluginManager()
setDefaultAdapter()
unserialize()
$adapters
$defaultAdapter
factory(string | \Zend\Serializer\Adapter\AdapterInterface $adapterName, array $adapterOptions) : \Zend\Serializer\Adapter\AdapterInterface
array
|\Traversable|null $adapterOptions Serializer options
getAdapterPluginManager() : \Zend\Serializer\AdapterPluginManager
getDefaultAdapter() : \Zend\Serializer\Adapter\AdapterInterface
resetAdapterPluginManager() : \Zend\Serializer\AdapterPluginManager
serialize(mixed $value, string | \Zend\Serializer\Adapter\AdapterInterface $adapter, array | \Traversable | null $adapterOptions) : string
Optionally different adapter could be provided as second argument
mixed
string\Zend\Serializer\Adapter\AdapterInterface
array\Traversablenull
Adapter constructor options only used to create adapter instance
string
setAdapterPluginManager(\Zend\Serializer\AdapterPluginManager $adapters) : void
\Zend\Serializer\AdapterPluginManager
setDefaultAdapter(string | \Zend\Serializer\Adapter\AdapterInterface $adapter, array | \Traversable | null $adapterOptions)
string\Zend\Serializer\Adapter\AdapterInterface
array\Traversablenull
unserialize(string $serialized, string | \Zend\Serializer\Adapter\AdapterInterface $adapter, array | \Traversable | null $adapterOptions) : mixed
Optionally different adapter could be provided as second argument
string
string\Zend\Serializer\Adapter\AdapterInterface
array\Traversablenull
Adapter constructor options only used to create adapter instance
mixed