Http\Exception

Illuminate\Http\Exception Classes HttpResponseException

HttpResponseException::__construct()

void __construct(Response $response) Create a new HTTP response exception instance. Parameters Response $response Return Value void

HttpResponseException::getResponse()

Response getResponse() Get the underlying response instance. Return Value Response

HttpResponseException

HttpResponseException class HttpResponseException extends RuntimeException (View source) Methods void __construct(Response $response) Create a new HTTP response exception instance. Response getResponse() Get the underlying response instance.

HttpException

HttpException class HttpException extends PHPUnit_Framework_ExpectationFailedException (View source)

HTTP Session

HTTP Session Introduction Configuration Driver Prerequisites Using The Session Retrieving Data Storing Data Flash Data Deleting Data Regenerating The Session ID Adding Custom Session Drivers Implementing The Driver Registering The Driver Introduction Since HTTP driven applications are stateless, sessions provide a way to store information about the user across multiple requests. Laravel ships with a variety of session backends that are accessed through an expressive, unified API. Suppor

HTTP Responses

HTTP Responses Creating Responses Attaching Headers To Responses Attaching Cookies To Responses Cookies & Encryption Redirects Redirecting To Named Routes Redirecting To Controller Actions Redirecting With Flashed Session Data Other Response Types View Responses JSON Responses File Downloads File Responses Response Macros Creating Responses Strings & Arrays All routes and controllers should return a response to be sent back to the user's browser. Laravel provides several differe

HTTP Requests

HTTP Requests Accessing The Request Request Path & Method PSR-7 Requests Retrieving Input Old Input Cookies Files Retrieving Uploaded Files Storing Uploaded Files Accessing The Request To obtain an instance of the current HTTP request via dependency injection, you should type-hint the Illuminate\Http\Request class on your controller method. The incoming request instance will automatically be injected by the service container: <?php namespace App\Http\Controllers; use Illuminate

Http

Illuminate\Http Classes FrameGuard JsonResponse RedirectResponse Request Response ResponseTrait

HtmlString::__toString()

string __toString() Get the HTML string. Return Value string