3declare(strict_types=1);
10use OutOfBoundsException;
45 if ($this->throwOnValueAssignment) {
46 throw new OutOfBoundsException(
"Modifying global Request-Array such as \$_GET is not allowed!");
49 parent::offsetSet($offset, $value);
57 throw new LogicException(
"Modifying global Request-Array such as \$_GET is not allowed!");
Class SuperGlobalDropInReplacement This Class wraps SuperGlobals such as $_GET and $_POST to prevent ...
__construct(Factory $factory, array $raw_values, bool $throwOnValueAssignment=false)
offsetSet($offset, $value)
@inheritDoc
offsetUnset($offset)
@inheritDoc
bool $throwOnValueAssignment
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...