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

Breadcrumb

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

function Reflection::publicMethodsInTestClass

@psalm-return list<ReflectionMethod>

1 call to Reflection::publicMethodsInTestClass()
TestSuite::fromClassReflector in vendor/phpunit/phpunit/src/Framework/TestSuite.php

File

vendor/phpunit/phpunit/src/Util/Reflection.php, line 55

Class

Reflection
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\Util

Code

public static function publicMethodsInTestClass(ReflectionClass $class) : array {
    return self::filterAndSortMethods($class, ReflectionMethod::IS_PUBLIC, true);
}
RSS feed
Powered by Drupal