PHP Class FluxBB\Web\CookieKernel

Inheritance: implements Symfony\Component\HttpKernel\HttpKernelInterface
Datei anzeigen Open project: fluxbb/core

Protected Properties

Property Type Description
$queue Illuminate\Contracts\Cookie\QueueingFactory The cookie jar instance.
$wrapped Symfony\Component\HttpKernel\HttpKernelInterface The wrapped HTTP kernel instance.

Public Methods

Method Description
__construct ( Symfony\Component\HttpKernel\HttpKernelInterface $wrapped, Illuminate\Contracts\Cookie\QueueingFactory $queue ) Create the cookie kernel instance.
handle ( Request $request, $type = self::MASTER_REQUEST, $catch = true )

Protected Methods

Method Description
writeQueuedCookies ( Response $response ) : void Append all queued cookies to the response.

Method Details

__construct() public method

Create the cookie kernel instance.
public __construct ( Symfony\Component\HttpKernel\HttpKernelInterface $wrapped, Illuminate\Contracts\Cookie\QueueingFactory $queue )
$wrapped Symfony\Component\HttpKernel\HttpKernelInterface
$queue Illuminate\Contracts\Cookie\QueueingFactory

handle() public method

public handle ( Request $request, $type = self::MASTER_REQUEST, $catch = true )
$request Symfony\Component\HttpFoundation\Request

writeQueuedCookies() protected method

Append all queued cookies to the response.
protected writeQueuedCookies ( Response $response ) : void
$response Symfony\Component\HttpFoundation\Response
return void

Property Details

$queue protected_oe property

The cookie jar instance.
protected QueueingFactory,Illuminate\Contracts\Cookie $queue
return Illuminate\Contracts\Cookie\QueueingFactory

$wrapped protected_oe property

The wrapped HTTP kernel instance.
protected HttpKernelInterface,Symfony\Component\HttpKernel $wrapped
return Symfony\Component\HttpKernel\HttpKernelInterface