PHP Class Symfony\Bundle\FrameworkBundle\EventListener\SessionListener

This will also start the session if it was already started during a previous request.
Author: Johannes M. Schmitt ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Exibir arquivo Open project: pmjones/php-framework-benchmarks

Public Methods

Method Description
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container )
getSubscribedEvents ( )
onKernelRequest ( GetResponseEvent $event )

Method Details

__construct() public method

public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container )
$container Symfony\Component\DependencyInjection\ContainerInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onKernelRequest() public method

public onKernelRequest ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent