/** * Display a listing of the User. * GET|HEAD /users * * @return Response */ public function index() { $users = $this->userRepository->all(); return $this->sendResponse($users->toArray(), "Users retrieved successfully"); }