yii\web\SessionIterator::current PHP 메소드

current() 공개 메소드

This method is required by the interface [[\Iterator]].
public current ( ) : mixed
리턴 mixed the current array element
    public function current()
    {
        return isset($_SESSION[$this->_key]) ? $_SESSION[$this->_key] : null;
    }