protected static function csvParser(StreamInterface $stream): array
	{
		if ($stream->isSeekable()) {
			$stream->rewind();
		}

		$handle = $stream->detach();
		$data = [];
		while (($row = \fgetcsv($handle)) !== false) {
			$data[] = $row;
		}
		\fclose($handle);

		return ['body' => $data];
	}