PHP Class Sylius\Bundle\CoreBundle\EventListener\SessionCartSubscriber

Author: Paweł Jędrzejewski ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Mostra file Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Order\Context\CartContextInterface $cartContext, string $sessionKeyName )
getSubscribedEvents ( )
onKernelResponse ( FilterResponseEvent $event )

Method Details

__construct() public method

public __construct ( Sylius\Component\Order\Context\CartContextInterface $cartContext, string $sessionKeyName )
$cartContext Sylius\Component\Order\Context\CartContextInterface
$sessionKeyName string

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onKernelResponse() public method

public onKernelResponse ( FilterResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\FilterResponseEvent