BinaryFileResponse
setFile(SplFileInfo|string $file, string $contentDisposition = null, bool $autoEtag = false, bool $autoLastModified = true)
Sets the file to stream.
Parameters
SplFileInfo|string $file The file to stream string $contentDisposition bool $autoEtag bool $autoLastModified Return Value BinaryFileResponse Exceptions FileException