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) : 
since

2.0.0

Arguments

input

InputThe input object

session

SessionInterfaceDispatcherInterface for the session to use.

Response

mixed

validate

Validates the session

validate( restart = false) : 
since

2.0.0

throws

InvalidSessionException

Arguments

restart

boolFlag if the session should be restarted

Response

void

Properties

input

The Input object.

since

2.0.0

Type(s)

Input

session

The session object.

since

2.0.0

Type(s)

SessionInterface