AddressValidator

Implements ValidatorInterface

Interface 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\InputThe input object

session

\Joomla\Session\SessionInterfaceDispatcherInterface for the session to use.

Response

mixed

validate

Validates the session

validate(bool restart = false) : void
since

2.0.0

throws

\Joomla\Session\Exception\InvalidSessionException

Arguments

restart

boolFlag 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