Create a new file download response.
public static download ( SplFileInfo | string $file, string $name = null, array $headers = [], string | null $disposition = 'attachment' ) : |
||
$file | SplFileInfo | string | |
$name | string | |
$headers | array | |
$disposition | string | null | |
Résultat |