Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
lithium
storage
cache
strategy
Serializer
PHP Class lithium\storage\cache\strategy\Serializer
Inheritance:
extends
lithium\core\Object
Mostrar archivo
Open project: unionofrad/lithium
Public Methods
Method
Description
read
(
string
$data
) :
mixed
Read strategy method.
write
(
mixed
$data
) :
string
Write strategy method.
Method Details
read()
public
method
Unserializes the passed data.
See link:
PHP Manual: unserialize()
public
read
(
string
$data
) :
mixed
$data
string
Serialized data.
return
mixed
Result of unserialization.
write()
public
method
Serializes the passed data.
See link:
PHP Manual: serialize()
public
write
(
mixed
$data
) :
string
$data
mixed
The data to be serialized.
return
string
Serialized data.