PHP Класс Autarky\Http\SessionMiddleware

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

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

Свойство Тип Описание
$cookies array Additional cookie parameters to add to the session ID cookie.
$forceStart boolean Whether the sessions should always be started. Normal behaviour is to start the sesion whenever an operation is requested from it.
$kernel Symfony\Component\HttpKernel\HttpKernelInterface
$session Symfony\Component\HttpFoundation\Session\SessionInterface

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

Метод Описание
__construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel, Application $app )
handle ( Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true )

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

Метод Описание
closeSession ( Request $request, Response $response )
initSession ( Request $request )
makeCookie ( Request $request )

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

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

public __construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel, Application $app )
$kernel Symfony\Component\HttpKernel\HttpKernelInterface
$app Autarky\Application

closeSession() защищенный метод

protected closeSession ( Request $request, Response $response )
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response

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

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

initSession() защищенный метод

protected initSession ( Request $request )
$request Symfony\Component\HttpFoundation\Request

makeCookie() защищенный метод

protected makeCookie ( Request $request )
$request Symfony\Component\HttpFoundation\Request

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

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

Additional cookie parameters to add to the session ID cookie.
protected array $cookies
Результат array

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

Whether the sessions should always be started. Normal behaviour is to start the sesion whenever an operation is requested from it.
protected bool $forceStart
Результат boolean

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

protected HttpKernelInterface,Symfony\Component\HttpKernel $kernel
Результат Symfony\Component\HttpKernel\HttpKernelInterface

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

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