34 public function set(
$key, $value, $ttl =
null);
46 public function delete(
$key);
An exception for terminatinating execution or to throw for unit testing.
setMultiple($values, $ttl=null)
Persists a set of key => value pairs in the cache, with an optional TTL.
getMultiple($keys, $default=null)
Obtains multiple cache items by their unique keys.
clear()
Wipes clean the entire cache's keys.
deleteMultiple($keys)
Deletes multiple cache items in a single operation.
has($key)
Determines whether an item is present in the cache.