Copied!

Resolver for Fqsen using Context information

  • psalm-immutable
Cloneable Instantiable
Methods
public resolve ( string $fqsen , ? phpDocumentor\Reflection\Types\Context $context = NULL ) : phpDocumentor\Reflection\Fqsen
Constants
private phpDocumentor\Reflection\FqsenResolver ::OPERATOR_NAMESPACE = '\'
 
  • var string Definition of the NAMESPACE operator in PHP
Methods
private isFqsen ( string $type ) : bool
 

Tests whether the given type is a Fully Qualified Structural Element Name.

private resolvePartialStructuralElementName ( string $type , phpDocumentor\Reflection\Types\Context $context ) : phpDocumentor\Reflection\Fqsen
 

Resolves a partial Structural Element Name (i.e. Reflection\DocBlock) to its FQSEN representation
(i.e. \phpDocumentor\Reflection\DocBlock) based on the Namespace and aliases mentioned in the Context.

  • throws InvalidArgumentException When type is not a valid FQSEN.
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration