Méthode |
Description |
|
enterMethodCall ( PhpParser\Node\Expr\MethodCall $node ) |
Links the current implementation vertex to all methods with the same
name. Filters on some obvious cases. |
|
enterNewInstance ( PhpParser\Node\Expr\New_ $node ) |
Visits a "new" statement node |
|
enterNonDynamicMethodCall ( PhpParser\Node\Expr\MethodCall $node ) |
Process of simple call of a method
Sample: $obj->getThing($arg);
Do not process : call_user_func(array($obj, 'getThing'), $arg);
Do not process : $reflectionMethod->invoke($obj, 'getThing', $arg); |
|
enterStaticCall ( PhpParser\Node\Expr\StaticCall $node ) |
|
|
findMethodInInheritanceTree ( $cls, $method ) |
Check if the class exists before searching for the
declaring class of the method, because class could be unknown, outside
or code could be bugged |
|
getCalledMethodVertexOn ( string $called, string $method ) : null | array |
Try to find a signature to link with the method to call and the object against to |
|
getParentName ( ) |
|
|