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

Breadcrumb

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

function TestSuite::getIterator

Returns an iterator for this test suite.

File

vendor/phpunit/phpunit/src/Framework/TestSuite.php, line 415

Class

TestSuite
@template-implements IteratorAggregate<int, Test>

Namespace

PHPUnit\Framework

Code

public function getIterator() : Iterator {
    $iterator = new TestSuiteIterator($this);
    if ($this->iteratorFilter !== null) {
        $iterator = $this->iteratorFilter
            ->factory($iterator, $this);
    }
    return $iterator;
}

API Navigation

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