public upProductQuantity ( string $productClassId ) : |
||
$productClassId | string | |
return |
public function upProductQuantity($productClassId)
{
$quantity = $this->getProductQuantity($productClassId) + 1;
$this->setProductQuantity($productClassId, $quantity);
return $this;
}