프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$currentClassStmts | |||
$currentMethodRelevant | |||
$dumper | |||
$factoryMethodStack |
메소드 | 설명 | |
---|---|---|
__construct ( |
The ctor needs a service for persistence of modified files | |
afterTraverse ( array $nodes ) | Writes modified files | |
enterNode ( PHPParser_Node $node ) | ||
leaveNode ( PHPParser_Node $node ) |
메소드 | 설명 | |
---|---|---|
enterClassNode ( PHPParser_Node_Stmt_Class $node ) | ||
enterInterfaceNode ( PHPParser_Node_Stmt_Interface $node ) | ||
enterNewInstance ( PHPParser_Node_Expr_New $node ) : PHPParser_Node_Expr_MethodCall | null | Enter in a new instance statement (only process "hard-coded" classname) | |
enterPublicMethodNode ( PHPParser_Node_Stmt_ClassMethod $node ) | ||
enterTraitNode ( PHPParser_Node_Stmt_Trait $node ) |
메소드 | 설명 | |
---|---|---|
getProcessedArgument ( array $args ) |
public __construct ( |
||
$callable |
protected enterClassNode ( PHPParser_Node_Stmt_Class $node ) | ||
$node | PHPParser_Node_Stmt_Class |
protected enterInterfaceNode ( PHPParser_Node_Stmt_Interface $node ) | ||
$node | PHPParser_Node_Stmt_Interface |
protected enterNewInstance ( PHPParser_Node_Expr_New $node ) : PHPParser_Node_Expr_MethodCall | null | ||
$node | PHPParser_Node_Expr_New | |
리턴 | PHPParser_Node_Expr_MethodCall | null |
protected enterPublicMethodNode ( PHPParser_Node_Stmt_ClassMethod $node ) | ||
$node | PHPParser_Node_Stmt_ClassMethod |
protected enterTraitNode ( PHPParser_Node_Stmt_Trait $node ) | ||
$node | PHPParser_Node_Stmt_Trait |