PHP Class FluxBB\Web\CookieKernel

Inheritance: implements Symfony\Component\HttpKernel\HttpKernelInterface
Afficher le fichier Open project: fluxbb/core

Protected Properties

Свойство Type Description
$queue Illuminate\Contracts\Cookie\QueueingFactory The cookie jar instance.
$wrapped Symfony\Component\HttpKernel\HttpKernelInterface The wrapped HTTP kernel instance.

Méthodes publiques

Méthode 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 )

Méthodes protégées

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

Method Details

__construct() public méthode

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 méthode

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

writeQueuedCookies() protected méthode

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

Property Details

$queue protected_oe property

The cookie jar instance.
protected QueueingFactory,Illuminate\Contracts\Cookie $queue
Résultat Illuminate\Contracts\Cookie\QueueingFactory

$wrapped protected_oe property

The wrapped HTTP kernel instance.
protected HttpKernelInterface,Symfony\Component\HttpKernel $wrapped
Résultat Symfony\Component\HttpKernel\HttpKernelInterface