lithium\storage\cache\adapter\File::_write()
Compiles value to format and writes file.
Parameters
-
string
$key
Key to uniquely identify the cached item.
-
mixed
$value
Value to store under given key.
-
integer
$expires
UNIX timestamp after which the item is invalid.
Returns
booleantrue
on success, false
otherwise.
Source
protected function _write($key, $value, $expires) {
return file_put_contents(
"{$this->_config['path']}/{$key}",
$this->_compile($key, $value, $expires)
);
}