ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
CacheInterface.php
Go to the documentation of this file.
1<?php
2
3namespace Psr\SimpleCache;
4
6{
18 public function get($key, $default = null);
19
34 public function set($key, $value, $ttl = null);
35
46 public function delete($key);
47
53 public function clear();
54
67 public function getMultiple($keys, $default = null);
68
83 public function setMultiple($values, $ttl = null);
84
96 public function deleteMultiple($keys);
97
113 public function has($key);
114}
$default
Definition: build.php:20
An exception for terminatinating execution or to throw for unit testing.
$key
Definition: croninfo.php:18
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.
$keys
$values