lithium\storage\cache\adapter\File::_write()
Compiles value to format and writes file.
Parameters
-
string
$keyKey to uniquely identify the cached item.
-
mixed
$valueValue to store under given key.
-
integer
$expiresUNIX 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)
);
}