/** * @return Role[] */ public function getRoles() { $repo = new RoleRepository($this->db); return $repo->order('name', 'ASC')->find(true); }