PHP Class WellCommerce\Bundle\ClientBundle\Manager\ClientWishlistManager

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\DoctrineBundle\Manager\Manager
Show file Open project: wellcommerce/wellcommerce

Public Methods

Method Description
addProductToWishlist ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client )
deleteProductFromWishlist ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client )

Private Methods

Method Description
findWishlist ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client )

Method Details

addProductToWishlist() public method

public addProductToWishlist ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client )
$product WellCommerce\Bundle\ProductBundle\Entity\ProductInterface
$client WellCommerce\Bundle\ClientBundle\Entity\ClientInterface

deleteProductFromWishlist() public method

public deleteProductFromWishlist ( WellCommerce\Bundle\ProductBundle\Entity\ProductInterface $product, WellCommerce\Bundle\ClientBundle\Entity\ClientInterface $client )
$product WellCommerce\Bundle\ProductBundle\Entity\ProductInterface
$client WellCommerce\Bundle\ClientBundle\Entity\ClientInterface