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.
public read ( string $data ) : mixed
$data string Serialized data.
return mixed Result of unserialization.

write() public method

Base64-encodes the passed data.
public write ( mixed $data ) : string
$data mixed The data to be serialized.
return string Serialized data.