Interface ValidatorInterface

Summary

Fully Qualified Name: Zend\Session\Validator\ValidatorInterface

Description

Session validator interface

Methods

Name Description Defined By
getData() Get data from validator to be used for validation comparisons ValidatorInterface
getName() Get validator name for use with storing validators between requests ValidatorInterface
isValid() This method will be called at the beginning of every session to determine if the current environment matches that which was store in the setup() procedure. ValidatorInterface

Method Details

getData()

Get data from validator to be used for validation comparisons

Returns: mixed

getName()

Get validator name for use with storing validators between requests

Returns: string

isValid()

This method will be called at the beginning of every session to determine if the current environment matches that which was store in the setup() procedure.

Returns: bool

Top