deactivated_super_global
class deactivated_super_global implements ArrayAccess, Countable, IteratorAggregate
Replacement for a superglobal (like $_GET or $_POST) which calls trigger_error on all operations but isset, overloads the [] operator with SPL.
Methods
Constructor generates an error message fitting the super global to be used within the other functions.
Redirects isset to the correct request class call.
No description
No description
No description
Part of the \Countable implementation, will always result in a FATAL error
Part of the Traversable/IteratorAggregate implementation, will always result in a FATAL error
Details
at line 44
__construct(request_interface $request, string $name, string $super_global)
Constructor generates an error message fitting the super global to be used within the other functions.
at line 77
bool
offsetExists(string $offset)
Redirects isset to the correct request class call.
at line 85
offsetGet($offset)
No description
at line 90
offsetSet($offset, $value)
No description
at line 95
offsetUnset($offset)
No description
at line 104
count()
Part of the \Countable implementation, will always result in a FATAL error
at line 112
getIterator()
Part of the Traversable/IteratorAggregate implementation, will always result in a FATAL error