Skip to content

Commit

Permalink
Added deleteFileAfterSend() back in the docs
Browse files Browse the repository at this point in the history
it is a feature.
  • Loading branch information
wotta authored Apr 3, 2017
1 parent 233beac commit 1255c35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ The `download` method may be used to generate a response that forces the user's
return response()->download($pathToFile);

return response()->download($pathToFile, $name, $headers);

return response()->download($pathToFile)->deleteFileAfterSend(true);

> {note} Symfony HttpFoundation, which manages file downloads, requires the file being downloaded to have an ASCII file name.
Expand Down

0 comments on commit 1255c35

Please sign in to comment.