interface Illuminate / Contracts / Cookie / QueueingFactory
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

QueueingFactory

Methods

public

queue ( $parameters ) : void

Queue a cookie to send with the next response.

Parameters

  • $parameters mixed
public

unqueue ( $name , $path ) : void

Remove a cookie from the queue.

Parameters

  • $name string
  • $path string|null
public

getQueuedCookies ( ) : array

Get the cookies which have been queued for the next request.