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