Definition at line 37 of file Abstract.php.
◆ getValidData()
GetValidData() - This method should be used to retrieve the environment variables that will be needed to 'validate' a session.
- Returns
- mixed
Definition at line 62 of file Abstract.php.
64 $validatorName = get_class($this);
65 if (isset($_SESSION[
'__ZF'][
'VALID'][$validatorName])) {
66 return $_SESSION[
'__ZF'][
'VALID'][$validatorName];
◆ setValidData()
SetValidData() - This method should be used to store the environment variables that will be needed in order to validate the session later in the validate() method. These values are stored in the session in the __ZF namespace, in an array named VALID
- Parameters
-
- Returns
- void
Definition at line 48 of file Abstract.php.
50 $validatorName = get_class($this);
52 $_SESSION[
'__ZF'][
'VALID'][$validatorName] =
$data;
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Session/Validator/Abstract.php