/** * @param User $user */ public function cleanupUser(User $user) { $this->watcherListRepository->removeByUser($user); $this->ticketRepository->removeTicketReporter($user); $this->commentRepository->removeCommentAuthor($user); }