You are here

public function Twig_TokenStream::getCurrent in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/TokenStream.php \Twig_TokenStream::getCurrent()
  2. 7.2 vendor/Twig/TokenStream.php \Twig_TokenStream::getCurrent()

Gets the current token

Return value

Twig_Token

File

vendor/Twig/TokenStream.php, line 142

Class

Twig_TokenStream
Represents a token stream.

Code

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