/** * @return \Claroline\CoreBundle\Entity\Role[] */ public function getAllRoles() { return $this->roleRepo->findAll(); }