Property | Type | Description | |
---|---|---|---|
$aliases | Currently defined namespace and class aliases | ||
$currentPhpFile | current file | ||
$namespace | Current namespace |
Method | Description | |
---|---|---|
beforeTraverse ( array $nodes ) | ||
enterNode ( PHPParser_Node $node ) |
Method | Description | |
---|---|---|
getNamespacedName ( PHPParser_Node $node ) : string | Helper : get the FQCN of the given $node->name | |
resolveClassName ( PHPParser_Node_Name $src ) : PHPParser_Node_Name | PHPParser_Node_Name_FullyQualified | resolve the Name with current namespace and alias |
protected getNamespacedName ( PHPParser_Node $node ) : string | ||
$node | PHPParser_Node | |
return | string |
protected resolveClassName ( PHPParser_Node_Name $src ) : PHPParser_Node_Name | PHPParser_Node_Name_FullyQualified | ||
$src | PHPParser_Node_Name | |
return | PHPParser_Node_Name | PHPParser_Node_Name_FullyQualified |