public function current()
    {
        if (!isset($this->tokens[$this->position])) {
            throw $this->getOutOfBoundsException();
        }

        return $this->tokens[$this->position];
    }
public function current()
    {
        if (!isset($this->tokens[$this->position])) {
            throw $this->getOutOfBoundsException();
        }

        return $this->tokens[$this->position];
    }
public function current ( ) { if ( ! isset ( $ this -> tokens [ $ this -> position ] ) ) { throw $ this -> getOutOfBoundsException ( ) ; } return $ this -> tokens [ $ this -> position ] ; }
Returns the current token in the stack.

@return \HippoPHP\Tokenizer\Token
Returns the current token in the stack .