PHP Class WellCommerce\Bundle\OrderBundle\Controller\Front\OrderCartController

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\CoreBundle\Controller\Front\AbstractFrontController
Afficher le fichier Open project: wellcommerce/wellcommerce

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
getManager ( ) : OrderProductManager

Method Details

addAction() public méthode

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
Résultat Symfony\Component\HttpFoundation\Response

deleteAction() public méthode

public deleteAction ( WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface $orderProduct ) : Response
$orderProduct WellCommerce\Bundle\OrderBundle\Entity\OrderProductInterface
Résultat Symfony\Component\HttpFoundation\Response

editAction() public méthode

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

getManager() protected méthode

protected getManager ( ) : OrderProductManager
Résultat WellCommerce\Bundle\OrderBundle\Manager\OrderProductManager

indexAction() public méthode

public indexAction ( ) : Response
Résultat Symfony\Component\HttpFoundation\Response