Reflection information, and therefore DocBlock information, is static within a single PHP process. It is therefore okay to use a Singleton registry here.
◆ forClassName()
PHPUnit\Util\Annotation\Registry::forClassName |
( |
string |
$class | ) |
|
◆ forMethod()
PHPUnit\Util\Annotation\Registry::forMethod |
( |
string |
$classInHierarchy, |
|
|
string |
$method |
|
) |
| |
- Exceptions
-
Exception | @psalm-param class-string $classInHierarchy |
◆ getInstance()
static PHPUnit\Util\Annotation\Registry::getInstance |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: