$media->download($filename = null)

Sends all needed headers and the content to force the browser to download the file

  • $filename (string)
    Filename after download