コード例 #1
0
 /**
  * @param $id
  * @return \Illuminate\Http\JsonResponse
  */
 public function getMembers($id)
 {
     $group = Sentry::findGroupById($id);
     $merbers = Sentry::findAllUsersInGroup($group);
     return Response::json(['data' => $merbers]);
 }