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

Breadcrumb

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

function Iterator::__construct

Same name in this branch
  1. 11.1.x vendor/phpunit/php-code-coverage/src/Node/Iterator.php \SebastianBergmann\CodeCoverage\Node\Iterator::__construct()

@psalm-param list<string> $suffixes @psalm-param list<string> $prefixes

File

vendor/phpunit/php-file-iterator/src/Iterator.php, line 47

Class

Iterator
@template-extends FilterIterator<int, string, AppendIterator>

Namespace

SebastianBergmann\FileIterator

Code

public function __construct(string $basePath, \Iterator $iterator, array $suffixes = [], array $prefixes = []) {
    $this->basePath = realpath($basePath);
    $this->prefixes = $prefixes;
    $this->suffixes = $suffixes;
    parent::__construct($iterator);
}
RSS feed
Powered by Drupal