private increase_coupon_applied_count ( string $code, integer $count = 1 ) | ||
$code | string | |
$count | integer |
private function increase_coupon_applied_count($code, $count = 1)
{
if (empty($this->coupon_applied_count[$code])) {
$this->coupon_applied_count[$code] = 0;
}
$this->coupon_applied_count[$code] += $count;
}