private function handleCall(Call $call)
{
foreach ($this->callHandlers as $handler) {
if (!$handler->supportsCall($call)) {
continue;
}
return $handler->handleCall($call);
}
throw new CallHandlingException(sprintf('None of the registered call handlers could handle a `%s` call.', $call->getCallee()->getPath()), $call);
}