yii\web\SessionIterator::next PHP Method

next() public method

This method is required by the interface [[\Iterator]].
public next ( )
    public function next()
    {
        do {
            $this->_key = next($this->_keys);
        } while (!isset($_SESSION[$this->_key]) && $this->_key !== false);
    }