lithium\storage\cache\adapter\File::_compile()
Compiles value to format.
Parameters
-
string
$key
Key to uniquely identify the cached items.
-
mixed
$value
Value to store under given key.
-
integer
$expires
UNIX timestamp after which the item is invalid.
Returns
stringThe compiled data string.
Source
protected function _compile($key, $value, $expires) {
return "{:expiry:{$expires}}\n{$value}";
}