static Response
create(SplFileInfo|string $file = null, int $status = 200, array $headers = array(), bool $public = true, null|string $contentDisposition = null, bool $autoEtag = false, bool $autoLastModified = true)
Parameters
SplFileInfo|string $file The file to stream int $status The response status code array $headers An array of response headers bool $public Files are public by default null|string $contentDisposition The type of Content-Disposition to set automat