private responseIsAlreadyCompleted ( string $detectedInMethod ) : RuntimeExceptio\RuntimeException | ||
$detectedInMethod | string | |
return | RuntimeExceptio\RuntimeException |
private function responseIsAlreadyCompleted($detectedInMethod)
{
return new RuntimeException(sprintf('Calling %s is not possible, as the response is already marked as completed.', $detectedInMethod));
}