/** * Overloaded function * * Removes errors for all attributes or a single attribute. * @param string $attribute attribute name. Use null to remove errors for all attribute. */ public function clearErrors($attribute = null) { parent::clearErrors($attribute); foreach ($this->tiffinPriceTimeSelectionArr as $row) { $row->clearErrors($attribute); } }