W3cubDocs

/Laravel 8

AddQueuedCookiesToResponse

class AddQueuedCookiesToResponse (View source)

Properties

protected QueueingFactory $cookies The cookie jar instance.

Methods

void __construct(QueueingFactory $cookies)

Create a new CookieQueue instance.

mixed handle(Request $request, Closure $next)

Handle an incoming request.

Details

void __construct(QueueingFactory $cookies)

Create a new CookieQueue instance.

Parameters

QueueingFactory $cookies

Return Value

void

mixed handle(Request $request, Closure $next)

Handle an incoming request.

Parameters

Request $request
Closure $next

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.html