Метод | Описание | |
---|---|---|
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 | ||
Результат |