You are here

public function Twig_TokenStream::isEOF in Zircon Profile 8.0

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

Checks if end of stream was reached.

Return value

bool

File

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

Class

Twig_TokenStream
Represents a token stream.

Code

public function isEOF() {
  return $this->tokens[$this->current]
    ->getType() === Twig_Token::EOF_TYPE;
}