Method | Description | |
---|---|---|
addAction ( |
||
removeAction ( |
Method | Description | |
---|---|---|
createAddToCartCommand ( Sylius\Component\Order\Model\OrderInterface $cart, Sylius\Component\Order\Model\OrderItemInterface $cartItem ) : Sylius\Bundle\OrderBundle\Controller\AddToCartCommandInterface | ||
getCartManager ( ) : Doctrine\ORM\EntityManagerInterface | ||
getCartSummaryRoute ( ) : string | ||
getContext ( ) : Sylius\Component\Order\Context\CartContextInterface | ||
getCurrentCart ( ) : Sylius\Component\Order\Model\OrderInterface | ||
getFormFactory ( ) : Symfony\Component\Form\FormFactoryInterface | ||
getOrderModifier ( ) : Sylius\Component\Order\Modifier\OrderModifierInterface | ||
getOrderRepository ( ) : Doctrine\Common\Persistence\ObjectRepository | ||
getQuantityModifier ( ) : Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface | ||
redirectToCartSummary ( |
public addAction ( |
||
$request | ||
return |
protected createAddToCartCommand ( Sylius\Component\Order\Model\OrderInterface $cart, Sylius\Component\Order\Model\OrderItemInterface $cartItem ) : Sylius\Bundle\OrderBundle\Controller\AddToCartCommandInterface | ||
$cart | Sylius\Component\Order\Model\OrderInterface | |
$cartItem | Sylius\Component\Order\Model\OrderItemInterface | |
return | Sylius\Bundle\OrderBundle\Controller\AddToCartCommandInterface |
protected getCartManager ( ) : Doctrine\ORM\EntityManagerInterface | ||
return | Doctrine\ORM\EntityManagerInterface |
protected getContext ( ) : Sylius\Component\Order\Context\CartContextInterface | ||
return | Sylius\Component\Order\Context\CartContextInterface |
protected getCurrentCart ( ) : Sylius\Component\Order\Model\OrderInterface | ||
return | Sylius\Component\Order\Model\OrderInterface |
protected getFormFactory ( ) : Symfony\Component\Form\FormFactoryInterface | ||
return | Symfony\Component\Form\FormFactoryInterface |
protected getOrderModifier ( ) : Sylius\Component\Order\Modifier\OrderModifierInterface | ||
return | Sylius\Component\Order\Modifier\OrderModifierInterface |
protected getOrderRepository ( ) : Doctrine\Common\Persistence\ObjectRepository | ||
return | Doctrine\Common\Persistence\ObjectRepository |
protected getQuantityModifier ( ) : Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface | ||
return | Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface |
protected redirectToCartSummary ( |
||
$configuration | ||
return |
public removeAction ( |
||
$request | ||
return |