PHP Class WellCommerce\Bundle\ProductBundle\Manager\ProductManager

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

Public Methods

Method Description
quickUpdateProduct ( integer $id, array $data ) Updates the product data

Protected Methods

Method Description
findProduct ( integer $id ) : WellCommerce\Bundle\ProductBundle\Entity\ProductInterface Returns the product entity by its identifier

Method Details

findProduct() protected method

Returns the product entity by its identifier
protected findProduct ( integer $id ) : WellCommerce\Bundle\ProductBundle\Entity\ProductInterface
$id integer
return WellCommerce\Bundle\ProductBundle\Entity\ProductInterface

quickUpdateProduct() public method

Updates the product data
public quickUpdateProduct ( integer $id, array $data )
$id integer
$data array