Свойство | Type | Description | |
---|---|---|---|
$options | Bolt\Session\OptionsBag | ||
$session | Symfony\Component\HttpFoundation\Session\SessionInterface |
Méthode | Description | |
---|---|---|
__construct ( Symfony\Component\HttpFoundation\Session\SessionInterface $session, Bolt\Session\OptionsBag $options ) | Constructor. | |
getSubscribedEvents ( ) | ||
onRequest ( |
Set the session ID from request cookies | |
onResponse ( |
Add the session cookie to the response if it is started. |
Méthode | Description | |
---|---|---|
appendRealmToName ( |
||
generateCookie ( ) | ||
prependBasePathToCookie ( |
public __construct ( Symfony\Component\HttpFoundation\Session\SessionInterface $session, Bolt\Session\OptionsBag $options ) | ||
$session | Symfony\Component\HttpFoundation\Session\SessionInterface | |
$options | Bolt\Session\OptionsBag |
protected appendRealmToName ( |
||
$request |
public onRequest ( |
||
$event |
public onResponse ( |
||
$event |
protected prependBasePathToCookie ( |
||
$request |
protected OptionsBag,Bolt\Session $options | ||
Résultat | Bolt\Session\OptionsBag |