19 declare(strict_types=1);
36 if (
false === $this->
exists($id)) {
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)) {
67 "Value %s is not scalar and can't be used to build a key",
72 $value = (string) $value;
75 return md5(implode(
'|', $values));
createKeyByValues(array $values)
store(string $key, $data)
Class ilForumNotificationCache.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins