Method |
Description |
|
download ( SplFileInfo | string $file, string $name = null, array $headers = [], null | string $disposition = 'attachment' ) : BinaryFileResponse |
Create a new file download response. |
|
getFacadeRoot ( ) : DeviseResponse |
Pretends to be a Facade for Response |
|
hasMacro ( string $name ) : boolean |
Checks if macro is registered |
|
json ( string | array $data = [], integer $status = 200, array $headers = [], integer $options ) : Illuminate\Http\JsonResponse |
Return a new JSON response from the application. |
|
jsonp ( string $callback, string | array $data = [], integer $status = 200, array $headers = [], integer $options ) : Illuminate\Http\JsonResponse |
Return a new JSONP response from the application. |
|
macro ( $name, callable $macro ) |
Registers a macro |
|
make ( string $content = '', integer $status = 200, array $headers = [] ) : Illuminate\Http\Response |
Return a new response from the application. |
|
stream ( Closure $callback, integer $status = 200, array $headers = [] ) : Symfony\Component\HttpFoundation\StreamedResponse |
Return a new streamed response from the application. |
|
view ( string $view, array $data = [], integer $status = 200, array $headers = [] ) : Illuminate\Http\Response |
Return a new view response from the application. |
|