public function streamDownload($callback, $name = null, array $headers = [], $disposition = 'attachment')
    {
        respondWith(response()->streamDownload($callback, $name, $headers, $disposition ));
    }
public function streamDownload($callback, $name = null, array $headers = [], $disposition = 'attachment')
    {
        respondWith(response()->streamDownload($callback, $name, $headers, $disposition ));
    }
public function streamDownload ( $ callback , $ name = null , array $ headers = [ ] , $ disposition = 'attachment' ) { respondWith ( response ( ) -> streamDownload ( $ callback , $ name , $ headers , $ disposition ) ) ; }
Return a new streamed response as a file download from the application.

@param  \Closure  $callback
@param  string|null  $name
@param  array  $headers
@param  string|null  $disposition
@return \Symfony\Component\HttpFoundation\StreamedResponse
Return a new streamed response as a file download from the application .