Your IP : 216.73.217.95


Current Path : /home/rtorresani/www/vendor/laminas/laminas-session/src/Validator/
Upload File :
Current File : //home/rtorresani/www/vendor/laminas/laminas-session/src/Validator/ValidatorInterface.php

<?php

namespace Laminas\Session\Validator;

/**
 * Session validator interface
 */
interface ValidatorInterface
{
    /**
     * 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.
     *
     * @return bool
     */
    public function isValid();

    /**
     * Get data from validator to be used for validation comparisons
     *
     * @return mixed
     */
    public function getData();

    /**
     * Get validator name for use with storing validators between requests
     *
     * @return string
     */
    public function getName();
}