dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.public function getResponseInstance(): ResponseInterface
{
try {
$mimeType = $this->getResponseMimeType();
} catch (\Exception $exception) {
throw new InvalidResponseMimeTypeException('Cannot determine MIME type for response', 0, $exception);
}
if ($mimeType === 'application/zip') {
return new ZipResponse($this->responseParser, $this->responseBody);
}
return new CsvResponse($this->responseParser, $this->responseBody);
}