19 declare(strict_types=1);
41 public function offsetSet(mixed $offset, mixed $value): void
43 if ($this->throwOnValueAssignment) {
47 parent::offsetSet($offset, $value);
53 throw new LogicException(
"Modifying global Request-Array such as \$_GET is not allowed!");
offsetUnset(mixed $offset)
__construct(Factory $factory, array $raw_values, private bool $throwOnValueAssignment=false)
offsetSet(mixed $offset, mixed $value)
Class SuperGlobalDropInReplacement This Class wraps SuperGlobals such as $_GET and $_POST to prevent ...
__construct(Container $dic, ilPlugin $plugin)