FqsenResolver
in package
Resolver for Fqsen using Context information
Tags
Table of Contents
Constants
- OPERATOR_NAMESPACE = '\\'
Methods
- resolve() : Fqsen
- isFqsen() : bool
- Tests whether the given type is a Fully Qualified Structural Element Name.
- resolvePartialStructuralElementName() : 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.
Constants
OPERATOR_NAMESPACE
private
string
OPERATOR_NAMESPACE
= '\\'
Definition of the NAMESPACE operator in PHP
Methods
resolve()
public
resolve(string $fqsen[, Context|null $context = null ]) : Fqsen
Parameters
- $fqsen : string
- $context : Context|null = null
Return values
FqsenisFqsen()
Tests whether the given type is a Fully Qualified Structural Element Name.
private
isFqsen(string $type) : bool
Parameters
- $type : string
Return values
boolresolvePartialStructuralElementName()
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.
private
resolvePartialStructuralElementName(string $type, Context $context) : Fqsen
Parameters
- $type : string
- $context : Context