ForwardedValidator
Implements ValidatorInterfaceInterface for validating a part of the session
since |
2.0.0 |
---|---|
package |
Joomla Framework |
Methods
__construct
Constructor
__construct(\Joomla\Input\Input input, \Joomla\Session\SessionInterface session) : mixed
since |
2.0.0 |
---|
Arguments
- input
\Joomla\Input\Input
The input object- session
\Joomla\Session\SessionInterface
DispatcherInterface for the session to use.
Response
mixed
validate
Validates the session
validate(bool restart = false) : void
since |
2.0.0 |
---|
Arguments
- restart
bool
Flag if the session should be restarted
Properties
input
The Input object.
since |
2.0.0 |
---|
Type(s)
\Joomla\Input\Input
session
The session object.
since |
2.0.0 |
---|
Type(s)
\Joomla\Session\SessionInterface