str::download($string, $name = null)

Forces a download of the string as text file

  • $string (string)
  • $name (string)
    Optional name for the downloaded file

Is something missing or incorrect? Edit this page on Github…