/** * Deletes comments for provided entity type. * * @param string $entityType */ public function deleteEntityTypeComments($entityType) { $entityType = trim($entityType); $this->commentDao->deleteEntityTypeComments($entityType); $this->commentEntityDao->deleteByEntityType($entityType); }