Updated stock value for a given Product.
public updateStock ( Sonata\Component\Product\ProductInterface | integer $product, integer $diff ) | ||
$product | Sonata\Component\Product\ProductInterface | integer | |
$diff | integer |
public updateStock ( Sonata\Component\Product\ProductInterface | integer $product, integer $diff ) | ||
$product | Sonata\Component\Product\ProductInterface | integer | |
$diff | integer |