Свойство | Тип | Описание | |
---|---|---|---|
$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 ( |
Метод | Описание | |
---|---|---|
startSession ( |
Prepare and start the session instance with data from the given request. | |
writeSessionTo ( |
Write the session cookie to the response. |
public __construct ( Symfony\Component\HttpKernel\HttpKernelInterface $wrapped, Symfony\Component\HttpFoundation\Session\SessionInterface $session ) | ||
$wrapped | Symfony\Component\HttpKernel\HttpKernelInterface | |
$session | Symfony\Component\HttpFoundation\Session\SessionInterface |
public handle ( |
||
$request |
protected startSession ( |
||
$request | ||
Результат | void |
protected writeSessionTo ( |
||
$response | ||
Результат | void |
protected SessionInterface,Symfony\Component\HttpFoundation\Session $session | ||
Результат | Symfony\Component\HttpFoundation\Session\SessionInterface |