Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
lithium
storage
cache
strategy
Base64
PHP Class lithium\storage\cache\strategy\Base64
Inheritance:
extends
lithium\core\Object
显示文件
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: base64_decode()
public
read
(
string
$data
) :
mixed
$data
string
Serialized data.
return
mixed
Result of unserialization.
write()
public
method
Base64-encodes the passed data.
See link:
PHP Manual: base64_encode()
public
write
(
mixed
$data
) :
string
$data
mixed
The data to be serialized.
return
string
Serialized data.