BinaryFileResponse setContentDisposition(string $disposition, string $filename = '', string $filenameFallback = '')
Sets the Content-Disposition header with the given filename.
BinaryFileResponse setContentDisposition(string $disposition, string $filename = '', string $filenameFallback = '')
Sets the Content-Disposition header with the given filename.
string | $disposition | ResponseHeaderBag::DISPOSITIONINLINE or ResponseHeaderBag::DISPOSITIONATTACHMENT |
string | $filename | Optionally use this filename instead of the real name of the file |
string | $filenameFallback | A fallback filename, containing only ASCII characters. Defaults to an automatically encoded filename |
BinaryFileResponse |
Designed by : w10schools
service@w10schools.com
Please login to continue.