class TestSessionListener extends TestSessionListener
TestSessionListener.
onKernelRequest(GetResponseEvent $event) | from TestSessionListener | |
onKernelResponse(FilterResponseEvent $event) Checks if session was initialized and saves if current request is master Runs on 'kernel.response' in test environment | from TestSessionListener | |
static array | getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. | from TestSessionListener |
__construct(ContainerInterface $container) |
Checks if session was initialized and saves if current request is master Runs on 'kernel.response' in test environment
Returns an array of event names this subscriber wants to listen to.
The array keys are event names and the value can be:
For instance:
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bundle/FrameworkBundle/EventListener/TestSessionListener.html