Property | Type | Description | |
---|---|---|---|
$options | Bolt\Session\OptionsBag | ||
$session | Symfony\Component\HttpFoundation\Session\SessionInterface |
Method | 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. |
Method | 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 | ||
return | Bolt\Session\OptionsBag |