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