Свойство | Тип | Описание | |
---|---|---|---|
$aliases | Currently defined namespace and class aliases | ||
$currentPhpFile | current file | ||
$namespace | Current namespace |
Метод | Описание | |
---|---|---|
beforeTraverse ( array $nodes ) | ||
enterNode ( PHPParser_Node $node ) |
Метод | Описание | |
---|---|---|
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 | |
Результат | string |
protected resolveClassName ( PHPParser_Node_Name $src ) : PHPParser_Node_Name | PHPParser_Node_Name_FullyQualified | ||
$src | PHPParser_Node_Name | |
Результат | PHPParser_Node_Name | PHPParser_Node_Name_FullyQualified |