yii\web\SessionIterator::valid PHP Méthode

valid() public méthode

This method is required by the interface [[\Iterator]].
public valid ( ) : boolean
Résultat boolean
    public function valid()
    {
        return $this->_key !== false;
    }