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

Breadcrumb

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

function TestSuite::fromClassName

@psalm-param class-string $className

File

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

Class

TestSuite
@template-implements IteratorAggregate<int, Test>

Namespace

PHPUnit\Framework

Code

public static function fromClassName(string $className) : static {
    assert(class_exists($className));
    $class = new ReflectionClass($className);
    return static::fromClassReflector($class);
}

API Navigation

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