return $group;
} /**
* @return PriceDiscount
*/
public function hydratePriceDiscount(array
$data) { $discount =
new PriceDiscount();
$discount->
setId((int) $data['__priceGroupDiscount_id'
]);
$discount->
setPercent((float) $data['__priceGroupDiscount_discount'
]);
$discount->
setQuantity((int) $data['__priceGroupDiscount_discountstart'
]);
return $discount;
}}