Sets the response stream chunk size.
$this
public function setChunkSize(int $chunkSize) : static { if ($chunkSize < 1) { throw new \InvalidArgumentException('The chunk size of a BinaryFileResponse cannot be less than 1.'); } $this->chunkSize = $chunkSize; return $this; }