/** * Create a new file download response. * * @param \SplFileInfo|string $file * @param string $name * @param array $headers * @param string|null $disposition * @return \Symfony\Component\HttpFoundation\BinaryFileResponse * @static */ public static function download($file, $name = null, $headers = array(), $disposition = 'attachment') { return \Illuminate\Routing\ResponseFactory::download($file, $name, $headers, $disposition); }