function CodeUnit::reflectorForClassMethod
@psalm-param class-string $className
Throws
3 calls to CodeUnit::reflectorForClassMethod()
- CodeUnit::forClassMethod in vendor/
sebastian/ code-unit/ src/ CodeUnit.php - @psalm-param class-string $className
- CodeUnit::forInterfaceMethod in vendor/
sebastian/ code-unit/ src/ CodeUnit.php - @psalm-param class-string $interfaceName
- CodeUnit::forTraitMethod in vendor/
sebastian/ code-unit/ src/ CodeUnit.php - @psalm-param class-string $traitName
File
-
vendor/
sebastian/ code-unit/ src/ CodeUnit.php, line 444
Class
- CodeUnit
- @psalm-immutable
Namespace
SebastianBergmann\CodeUnitCode
private static function reflectorForClassMethod(string $className, string $methodName) : ReflectionMethod {
try {
return new ReflectionMethod($className, $methodName);
// @codeCoverageIgnoreStart
} catch (\ReflectionException $e) {
throw new ReflectionException($e->getMessage(), $e->getCode(), $e);
}
// @codeCoverageIgnoreEnd
}