public function decorate(php\call $call) { $string = $call->getFunction() . '(' . $this->argumentsDecorator->decorate($call->getArguments()) . ')'; $object = $call->getObject(); if ($object !== null) { $string = get_class($object) . '::' . $string; } return $string; }