Response::download()
Creates a response that triggers a file download for the given file
Parameters
Name | Type | Default | Description |
---|---|---|---|
$file * | string |
– | |
$filename | string |null |
null |
|
$props | array |
[ ] |
Custom overrides for response props (e.g. headers) |
Return type
Parent class
Kirby\Cms\Response
inherited from Kirby\Http\Response