프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$aliases | Currently defined namespace and class aliases | ||
$namespace | Current namespace |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | string |
public resolveClassName ( |
||
$src | ||
리턴 |