public function delete() { $id = $this->id; parent::delete(); // remove associated zip codes & tax rule return County::deleteZipCodeByIdCounty($id) and TaxRule::deleteTaxRuleByIdCounty($id); }