public function Twig_TokenStream::getCurrent

Gets the current token

Return value

Twig_Token

File

drupal/core/vendor/twig/twig/lib/Twig/TokenStream.php, line 130

Class

Twig_TokenStream
Represents a token stream.

Code

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