/** * Convert the model instance to an array. * * @return array */ public function toArray() { $array = parent::toArray(); $array['tax_rate'] = $this->taxPercentage(); return $array; }
/** * Convert the model instance to an array. * * @return array */ public function toArray() { $array = parent::toArray(); $array['tax_rate'] = $this->taxPercentage(); return $array; }