19declare(strict_types=1);
36 if (
false === $this->
exists($id)) {
37 throw new InvalidArgumentException(
'Storage id doesn\'t exist');
40 return $this->storage[
$id];
55 return array_key_exists(
$id, $this->storage);
64 foreach ($values as &$value) {
65 if ($value !==
null && !is_scalar($value)) {
66 throw new InvalidArgumentException(sprintf(
67 "Value %s is not scalar and can't be used to build a key",
72 $value = (string) $value;
75 return md5(implode(
'|', $values));
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Class ilForumNotificationCache.
createKeyByValues(array $values)
store(string $key, $data)