SessionListener
extends AbstractSessionListener
in package
Sets the session in the request.
When the passed container contains a "session_storage" entry which holds a NativeSessionStorage instance, the "cookie_secure" option will be set to true whenever the current master request is secure.
Tags
Table of Contents
- __construct() : mixed
- getSession() : SessionInterface|null
Methods
__construct()
public
__construct(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
Return values
mixed —getSession()
protected
getSession() : SessionInterface|null