Property | Type | Description | |
---|---|---|---|
$aliases | Currently defined namespace and class aliases | ||
$namespace | Current namespace |
Method | Description | |
---|---|---|
enter ( PhpParser\Node $node ) | ||
getName ( ) | ||
getNamespacedName ( PhpParser\Node $node ) : string | Helper : get the FQCN of the given $node->name | |
resolveClassName ( |
resolve the Name with current namespace and alias |
Method | Description | |
---|---|---|
enterClassNode ( |
Enters in a class node | |
enterInterfaceNode ( |
Enters in an interface node | |
enterTraitNode ( |
Enters in a trait node |
abstract protected enterClassNode ( |
||
$node |
abstract protected enterInterfaceNode ( |
||
$node |
abstract protected enterTraitNode ( |
||
$node |
public getNamespacedName ( PhpParser\Node $node ) : string | ||
$node | PhpParser\Node | |
return | string |
public resolveClassName ( |
||
$src | ||
return |