21 if (
false === $this->
exists($id)) {
22 throw new InvalidArgumentException(
'Storage id doesn\'t exist');
25 return $this->storage[
$id];
45 return array_key_exists(
$id, $this->storage);
55 $cacheKey = md5(implode(
'|',
$values));
An exception for terminatinating execution or to throw for unit testing.
Class ilForumNotificationCache.
createKeyByValues(array $values)
store(string $key, $data)
exists(string $id)
Checks if the current id exists.
if(!array_key_exists('StateId', $_REQUEST)) $id