public function convert(Expr\MethodCall $node)
    {
        $collected = $this->assignManipulator->collectAssignInCondition($node->args);
        $node->args = $this->assignManipulator->transformAssignInConditionTest($node->args);

        return $collected->getCollected() . 
                $this->dispatcher->pVarOrNewExpr($node->var).'->'.$this->dispatcher->pObjectProperty($node->name)
             .'('.$this->dispatcher->pCommaSeparated($node->args).')';
    }
public function convert(Expr\MethodCall $node)
    {
        $collected = $this->assignManipulator->collectAssignInCondition($node->args);
        $node->args = $this->assignManipulator->transformAssignInConditionTest($node->args);

        return $collected->getCollected() . 
                $this->dispatcher->pVarOrNewExpr($node->var).'->'.$this->dispatcher->pObjectProperty($node->name)
             .'('.$this->dispatcher->pCommaSeparated($node->args).')';
    }
@param Expr\MethodCall $node

@return string