Response::file()
Creates a response for a file and sends the file content to the browser
Parameters
Name | Type | Default | Description |
---|---|---|---|
$file * | string |
– | |
$props | array |
[ ] |
Custom overrides for response props (e.g. headers) |