19declare(strict_types=1);
24use ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher;
54 $this->wrapper =
$DIC->http()->wrapper();
60 $hash = $this->hash($this->identification->serialize());
61 $b = isset($this->storage[$hash]) && $this->storage[$hash] ==
true;
72 if (!isset($json_decode)) {
73 $cookie_value = $this->wrapper->cookie()->has(self::COOKIE_NS_GS)
74 ? $this->wrapper->cookie()->retrieve(self::COOKIE_NS_GS, $this->
refinery->to()->string())
77 $json_decode = json_decode((
string) $cookie_value,
true);
78 $json_decode = is_array($json_decode) ? $json_decode : [];
__construct(private IdentificationInterface $identification)
ItemState constructor.
static initILIAS()
ilias initialisation
Interface IdentificationInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...