메소드 | 설명 | |
---|---|---|
addAction ( |
||
removeAction ( |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 |
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 | |
리턴 | Sylius\Bundle\OrderBundle\Controller\AddToCartCommandInterface |
protected getCartManager ( ) : Doctrine\ORM\EntityManagerInterface | ||
리턴 | Doctrine\ORM\EntityManagerInterface |
protected getContext ( ) : Sylius\Component\Order\Context\CartContextInterface | ||
리턴 | Sylius\Component\Order\Context\CartContextInterface |
protected getCurrentCart ( ) : Sylius\Component\Order\Model\OrderInterface | ||
리턴 | Sylius\Component\Order\Model\OrderInterface |
protected getFormFactory ( ) : Symfony\Component\Form\FormFactoryInterface | ||
리턴 | Symfony\Component\Form\FormFactoryInterface |
protected getOrderModifier ( ) : Sylius\Component\Order\Modifier\OrderModifierInterface | ||
리턴 | Sylius\Component\Order\Modifier\OrderModifierInterface |
protected getOrderRepository ( ) : Doctrine\Common\Persistence\ObjectRepository | ||
리턴 | Doctrine\Common\Persistence\ObjectRepository |
protected getQuantityModifier ( ) : Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface | ||
리턴 | Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface |
protected redirectToCartSummary ( |
||
$configuration | ||
리턴 |
public removeAction ( |
||
$request | ||
리턴 |