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

Breadcrumb

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

function TokenIterator::__construct

*

Parameters

list<array{string, int, int}> $tokens:

File

vendor/phpstan/phpdoc-parser/src/Parser/TokenIterator.php, line 35

Class

TokenIterator

Namespace

PHPStan\PhpDocParser\Parser

Code

public function __construct(array $tokens, int $index = 0) {
    $this->tokens = $tokens;
    $this->index = $index;
    $this->skipIrrelevantTokens();
}

API Navigation

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