lithium\storage\cache\Adapter::write PHP Method

write() abstract public method

Write values to the cache. All items to be cached will receive an expiration time of $expiry.
abstract public write ( array $keys, string | integer $expiry = null ) : boolean
$keys array Key/value pairs with keys to uniquely identify the to-be-cached item.
$expiry string | integer A `strtotime()` compatible cache time or TTL in seconds. To persist an item use `\lithium\storage\Cache::PERSIST`.
return boolean `true` on successful write, `false` otherwise.
    public abstract function write(array $keys, $expiry = null);