get(); } /** * Get a specific user by ID. * * @param int $id * @return object|null */ public function getUser(int $id): ?object { return User::find($id); } /** * Get all users. * * @return Collection */ public function getAllUsers(): Collection { return User::all(); } }