Reflection information, and therefore DocBlock information, is static within
a single PHP process. It is therefore okay to use a Singleton registry here.

  • internal This class is not covered by the backward compatibility promise for PHPUnit
CloneableFinal
Methods
public forClassName(string $class) : PHPUnit\Util\Annotation\DocBlock
 
  • throws Exception
  • psalm-param class-string $class
public forMethod(string $classInHierarchy, string $method) : PHPUnit\Util\Annotation\DocBlock
 
  • throws Exception
  • psalm-param class-string $classInHierarchy
public static getInstance() : self
Properties
private $classDocBlocks
 
  • var array indexed by class name
private static $instance
 
  • var null|self
private $methodDocBlocks
 
  • var array> indexed by class name and method name
Methods
private __construct()
Properties
private static $instance
 
  • var null|self
Methods
public static getInstance() : self
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only