public offsetExists ( string $offset ) : boolean | ||
$offset | string | |
return | boolean |
public function offsetExists($offset)
{
if (in_array($offset, array('discount_amount', 'discount_amount_tax'))) {
return true;
}
return parent::offsetExists($offset);
}