/** * @return array */ public function getGroupsForUser($user) { return $this->repository->findAllForUser($user); }