Свойство | Type | Description | |
---|---|---|---|
$aliases | Currently defined namespace and class aliases | ||
$currentPhpFile | current file | ||
$namespace | Current namespace |
Méthode | Description | |
---|---|---|
beforeTraverse ( array $nodes ) | ||
enterNode ( PHPParser_Node $node ) |
Méthode | 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 | |
Résultat | string |
protected resolveClassName ( PHPParser_Node_Name $src ) : PHPParser_Node_Name | PHPParser_Node_Name_FullyQualified | ||
$src | PHPParser_Node_Name | |
Résultat | PHPParser_Node_Name | PHPParser_Node_Name_FullyQualified |