You are here

public function Twig_TokenStream::getCurrent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/TokenStream.php \Twig_TokenStream::getCurrent()

Gets the current token.

Return value

Twig_Token

File

vendor/twig/twig/lib/Twig/TokenStream.php, line 141

Class

Twig_TokenStream
Represents a token stream.

Code

public function getCurrent() {
  return $this->tokens[$this->current];
}