PHP Class Sylius\Bundle\CoreBundle\Checkout\CheckoutResolver

Author: Arkadiusz Krakowiak ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
ファイルを表示 Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Order\Context\CartContextInterface $cartContext, Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, Symfony\Component\HttpFoundation\RequestMatcherInterface $requestMatcher, SM\Factory\FactoryInterface $stateMachineFactory )
getSubscribedEvents ( )
onKernelRequest ( GetResponseEvent $event )

Private Methods

Method Description
getReferer ( Request $request ) : null | string
getRequestedGraph ( Request $request ) : string
getRequestedTransition ( Request $request ) : string

Method Details

__construct() public method

public __construct ( Sylius\Component\Order\Context\CartContextInterface $cartContext, Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, Symfony\Component\HttpFoundation\RequestMatcherInterface $requestMatcher, SM\Factory\FactoryInterface $stateMachineFactory )
$cartContext Sylius\Component\Order\Context\CartContextInterface
$urlGenerator Symfony\Component\Routing\Generator\UrlGeneratorInterface
$requestMatcher Symfony\Component\HttpFoundation\RequestMatcherInterface
$stateMachineFactory SM\Factory\FactoryInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

onKernelRequest() public method

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