PHP Class Sylius\Bundle\OrderBundle\Controller\OrderController

Inheritance: extends Sylius\Bundle\ResourceBundle\Controller\ResourceController
Mostrar archivo Open project: sylius/sylius

Public Methods

Method Description
clearAction ( Request $request ) : Response
saveAction ( Request $request ) : Response
summaryAction ( Request $request ) : Response
widgetAction ( Request $request ) : Response

Protected Methods

Method Description
getCartSummaryRoute ( ) : string
getContext ( ) : Sylius\Component\Order\Context\CartContextInterface
getCurrentCart ( ) : Sylius\Component\Order\Model\OrderInterface
getEventDispatcher ( ) : Symfony\Component\EventDispatcher\EventDispatcherInterface
redirectToCartSummary ( RequestConfiguration $configuration ) : RedirectResponse

Method Details

clearAction() public method

public clearAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

getCartSummaryRoute() protected method

protected getCartSummaryRoute ( ) : string
return string

getContext() protected method

protected getContext ( ) : Sylius\Component\Order\Context\CartContextInterface
return Sylius\Component\Order\Context\CartContextInterface

getCurrentCart() protected method

protected getCurrentCart ( ) : Sylius\Component\Order\Model\OrderInterface
return Sylius\Component\Order\Model\OrderInterface

getEventDispatcher() protected method

protected getEventDispatcher ( ) : Symfony\Component\EventDispatcher\EventDispatcherInterface
return Symfony\Component\EventDispatcher\EventDispatcherInterface

redirectToCartSummary() protected method

protected redirectToCartSummary ( RequestConfiguration $configuration ) : RedirectResponse
$configuration Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration
return Symfony\Component\HttpFoundation\RedirectResponse

saveAction() public method

public saveAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

summaryAction() public method

public summaryAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

widgetAction() public method

public widgetAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response