Method |
Description |
|
download ( SplFileInfo | string $file, string $name = null, array $headers = [], null | string $disposition = 'attachment' ) : BinaryFileResponse |
Create a new file download response. |
|
json ( string | array $data = [], integer $status = 200, array $headers = [], integer $options ) : Illuminate\Http\JsonResponse; |
Return a new JSON response from the application. |
|
make ( string $content = '', integer $status = 200, array $headers = [] ) : Illuminate\Http\Response |
Return a new response from the application. |
|