protected final function getMethodName(O\MethodCallExpression $methodExpression) { return $this->getValue($methodExpression->getName()); }
public function visitMethodCall(O\MethodCallExpression $expression) { $this->walk($expression->getValue()); $this->walk($expression->getName()); $this->walkAll($expression->getArguments()); $this->addTypeOperation($expression, $this->analysis[$expression->getValue()]->getMethod($expression)); }
public function getMethod(O\MethodCallExpression $expression) { if ($method = $this->getMethodByName($expression->getName(), false)) { return $method; } return parent::getMethod($expression); }