Sets the Content-Disposition header with the given filename.
public setContentDisposition ( string $disposition, string $filename = '', string $filenameFallback = '' ) : |
||
$disposition | string | ResponseHeaderBag::DISPOSITION_INLINE or ResponseHeaderBag::DISPOSITION_ATTACHMENT |
$filename | string | Optionally use this filename instead of the real name of the file |
$filenameFallback | string | A fallback filename, containing only ASCII characters. Defaults to an automatically encoded filename |
return |