protected function clearCollections(ICompanyService $implementation) { $implementation = parent::clearCollections($implementation); $implementation->clearCapabilities(); $implementation->clearHypervisors(); $implementation->clearGuests(); return $implementation; }
/** * @param ICompanyService $consultant * @return ICompanyService */ protected function clearCollections(ICompanyService $consultant) { $consultant = parent::clearCollections($consultant); $consultant->clearOffices(); $consultant->clearClients(); $consultant->clearSpokenLanguages(); $consultant->clearConfigurationManagementExpertises(); $consultant->clearExpertiseAreas(); $consultant->clearServicesOffered(); return $consultant; }