19declare(strict_types=1);
36 throw new InvalidArgumentException(
'Storage id doesn\'t exist');
39 return $this->storage[
$id];
47 $this->storage[$key] =
$data;
52 return array_key_exists(
$id, $this->storage);
60 foreach ($values as &$value) {
61 if ($value !==
null && !is_scalar($value)) {
62 throw new InvalidArgumentException(sprintf(
63 "Value %s is not scalar and can't be used to build a key",
68 $value = (string) $value;
71 return md5(implode(
'|', $values));
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Class ilForumNotificationCache.
createKeyByValues(array $values)
store(string $key, $data)