PHP Класс FluxBB\Web\SessionKernel

Наследование: implements Symfony\Component\HttpKernel\HttpKernelInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$session Symfony\Component\HttpFoundation\Session\SessionInterface The session instance.
$wrapped Symfony\Component\HttpKernel\HttpKernelInterface The wrapped HTTP kernel instance.

Открытые методы

Метод Описание
__construct ( Symfony\Component\HttpKernel\HttpKernelInterface $wrapped, Symfony\Component\HttpFoundation\Session\SessionInterface $session ) Create the session wrapper instance.
handle ( Request $request, $type = self::MASTER_REQUEST, $catch = true )

Защищенные методы

Метод Описание
startSession ( Request $request ) : void Prepare and start the session instance with data from the given request.
writeSessionTo ( Response $response ) : void Write the session cookie to the response.

Описание методов

__construct() публичный Метод

Create the session wrapper instance.
public __construct ( Symfony\Component\HttpKernel\HttpKernelInterface $wrapped, Symfony\Component\HttpFoundation\Session\SessionInterface $session )
$wrapped Symfony\Component\HttpKernel\HttpKernelInterface
$session Symfony\Component\HttpFoundation\Session\SessionInterface

handle() публичный Метод

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

startSession() защищенный Метод

Prepare and start the session instance with data from the given request.
protected startSession ( Request $request ) : void
$request Symfony\Component\HttpFoundation\Request
Результат void

writeSessionTo() защищенный Метод

Write the session cookie to the response.
protected writeSessionTo ( Response $response ) : void
$response Symfony\Component\HttpFoundation\Response
Результат void

Описание свойств

$session защищенное свойство

The session instance.
protected SessionInterface,Symfony\Component\HttpFoundation\Session $session
Результат Symfony\Component\HttpFoundation\Session\SessionInterface

$wrapped защищенное свойство

The wrapped HTTP kernel instance.
protected HttpKernelInterface,Symfony\Component\HttpKernel $wrapped
Результат Symfony\Component\HttpKernel\HttpKernelInterface