PHP 클래스 WellCommerce\Bundle\OrderBundle\Controller\Front\OrderCartController

저자: Adam Piotrowski ([email protected])
상속: extends WellCommerce\Bundle\CoreBundle\Controller\Front\AbstractFrontController
파일 보기 프로젝트 열기: wellcommerce/wellcommerce

공개 메소드들

메소드 설명
addAction ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant = null, integer $quantity = 1 ) : Response
deleteAction ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct ) : Response
editAction ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct, integer $quantity ) : Response
indexAction ( ) : Response

보호된 메소드들

메소드 설명
getManager ( ) : OrderProductManager

메소드 상세

addAction() 공개 메소드

public addAction ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ProductBundle\Entity\VariantInterface $variant = null, integer $quantity = 1 ) : Response
$product WellCommerce\Bundle\ProductBundle\Entity\ProductInterface
$variant WellCommerce\Bundle\ProductBundle\Entity\VariantInterface
$quantity integer
리턴 Symfony\Component\HttpFoundation\Response

deleteAction() 공개 메소드

public deleteAction ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct ) : Response
$orderProduct WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface
리턴 Symfony\Component\HttpFoundation\Response

editAction() 공개 메소드

public editAction ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct, integer $quantity ) : Response
$orderProduct WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface
$quantity integer
리턴 Symfony\Component\HttpFoundation\Response

getManager() 보호된 메소드

protected getManager ( ) : OrderProductManager
리턴 WellCommerce\Bundle\OrderBundle\Manager\OrderProductManager

indexAction() 공개 메소드

public indexAction ( ) : Response
리턴 Symfony\Component\HttpFoundation\Response