Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TokenStream.php

function TokenStream::isEOF

Checks if end of stream was reached.

File

vendor/twig/twig/src/TokenStream.php, line 114

Class

TokenStream
Represents a token stream.

Namespace

Twig

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal