Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
lithium
storage
cache
strategy
Serializer
PHP Class lithium\storage\cache\strategy\Serializer
Inheritance:
extends
lithium\core\Object
Exibir arquivo
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.