Show a single Member

@param $id string UUID of the selected Member
@return \Illuminate\Http\Response JSON response with Member attributes
329529
public function show($id)
    {
        $member = Member::with(
            'member_category',
            'user'
        )
            ->findOrFail($id);
        $this->authorize('view', $member);
        /** @noinspection PhpUndefinedMethodInspection */
        return fractal($member, new MemberTransformer())
            ->withResourceName('member')
            ->respond();
    }
780714
public function show($id)
    {
        $timeslot = $this->repository->find($id);

        if (request()->wantsJson()) {
            return response()->json([
                'data' => $timeslot,
            ]);
        }

        return view('timeslots.show', compact('timeslot'));
    }
64266
public function showAction($id)
    {
        $acl = $this->get('bacon_acl.service.authorization');

        if (!$acl->authorize('module-actions', 'SHOW')) {
            throw $this->createAccessDeniedException();
        }

        $entity = $this->getRepository()->find($id);

        if (!$entity) {
            return $this->createNotFoundException('Entity not Exists!');
        }

        $breadcumbs = $this->container->get('bacon_breadcrumbs');

        $breadcumbs->addItem([
            'title' => 'ModuleActions',
            'route' => 'module_actions',
        ]);

        $breadcumbs->addItem([
            'title' => 'Details',
            'route' => '',
        ]);

        $deleteForm = $this->createDeleteForm('module_actions_delete', $entity);

        return [
            'entity'      => $entity,
            'delete_form' => $deleteForm->createView(),
        ];
    }
902798
public function actionView($id)
    {
        $model = $this->findModel($id);
        $viewPostUrl = $this->getViewPostUrl($model);

        return $this->render('view', [
            'model' => $model,
            'viewPostUrl' => $viewPostUrl,
        ]);
    }
1070516
public function show($id)
    {
        $parameters = $this->request->getParameters();
        $model = $this->repository->getItem($id, $parameters);
        return $this->modelResponse($model);
    }
582517
public function show($id)
    {
        $chatbot = $this->client->get(
            sprintf('buckets/%d/chats/%d/integrations/%d.json', $this->bucket, $this->parent, $id)
        );
        $chatbot = new Chatbot($this->response($chatbot));
        $chatbot->inContext($this->bucket, $this->parent);

        return $chatbot;
    }
892257
public function actionView($id)
    {
        $model = $this->findModel($id);
        return $this->render('view', [
            'model' => $model,
            'idField' => $this->idField,
            'usernameField' => $this->usernameField,
            'fullNameField' => $this->fullNameField,
        ]);
    }
242978
public function showAction($id)
    {
        $em = $this->getDoctrine()->getManager();

        $permissionsGroup = $em->getRepository('ChillMainBundle:PermissionsGroup')->find($id);

        if (!$permissionsGroup) {
            throw $this->createNotFoundException('Unable to find PermissionsGroup entity.');
        }
        
        $translatableStringHelper = $this->get('chill.main.helper.translatable_string');
        $roleScopes = $permissionsGroup->getRoleScopes()->toArray();
        usort($roleScopes,
              function(RoleScope $a, RoleScope $b) use ($translatableStringHelper) {
                  if ($a->getScope() === NULL) {
                      return 1;
                  } 
                  if ($b->getScope() === NULL) {
                      return +1;
                  }
                  
                  return strcmp(
                        $translatableStringHelper->localize($a->getScope()->getName()),
                        $translatableStringHelper->localize($b->getScope()->getName())
                        );
              });

        return $this->render('ChillMainBundle:PermissionsGroup:show.html.twig', array(
            'entity'      => $permissionsGroup,
            'role_scopes' => $roleScopes,
            'expanded_roles' => $this->getExpandedRoles($roleScopes)
        ));
    }
876927
public function show($id)
    {
        $lists = $this->list->getAll();
        $list  = $this->list->find($id);

        return view('newsletter::Backend.lists.emails')->with(['lists' => $lists, 'list' => $list]);
    }
276726
public function show(Request $request, $id)
    {
        $this->validate($request, [
            'id' => 'uuid'
        ]);

        try{
            $did = $request->user()->dids()->where('id', $id)->with(['tags', 'client'])->firstOrFail();
            $results = fractal()->item($did, new DidTransformer());
            return response()->json($results);
        }catch (\Exception $e){
            return response()->json([ 'error' => 404, 'message' => 'Not found' ], 404);
        }

    }
477944
public function show($id)
	{
		$entity = $this->getModel()->getRepository()->getById($id);

		return $this->response()
			->item($entity)
			->view($this->getView('show'), [
				'entity' => $entity
			]);
	}
506171
public function actionView($id)
    {
        $model = $this->findModel($id);
        $authManager = Yii::$app->authManager;
        $avaliable = [];
        foreach ($authManager->getRoles() as $role) {
            $avaliable[$role->name] = $role->name;
        }
        $assigned = [];
        foreach ($authManager->getRolesByUser($id) as $role) {
            $assigned[$role->name] = $role->name;
            unset($avaliable[$role->name]);
        }
        return $this->render('view', [
                'model' => $model,
                'avaliable' => $avaliable,
                'assigned' => $assigned,
                'idField' => $this->idField,
                'usernameField' => $this->usernameField,
        ]);
    }
739872
public function show($id)
    {
        $document = $this->client->get(
            sprintf('buckets/%d/documents/%d.json', $this->bucket, $id)
        );

        return new Document($this->response($document));
    }
1347229
public function show($id)
    {
        // get role by id
        $role = Role::find($id);

        if (!$role) {
            return response()->json(null, 404);
        }

        return response()->json(arrayView('phpsoft.users::role/read', [
            'role' => $role
        ]), 200);
    }
887453
public function show($id)
    {
        $webhook = $this->client->get(
            sprintf('buckets/%d/webhooks/%d.json', $this->bucket, $id)
        );
        $webhook = new Webhook($this->response($webhook));
        $webhook->inContext($this->bucket);

        return $webhook;
    }
1265431
public function show($id)
    {
        $item = $this->repo->getById($id);

        if ( ! $item)
        {
            return $this->respondNotFound();
        }

        return $this->response->item($item, new $this->transformerClass);
    }
95663
public function show($id)
    {
        $vault = $this->client->get(
            sprintf('buckets/%d/vaults/%d.json', $this->bucket, $id)
        );

        return new Vault($this->response($vault));
    }