/** * @param int $id * * @return \Illuminate\Http\Response */ public function show($id) { $entity = $this->repository->entity($id); return $this->api->entity($entity, $this->transformer); }
/** * @param int $id * * @return \Illuminate\Http\Response */ public function show($id) { $entity = $this->repository->entity($id); return $this->api->entity($entity, $this->transformer); }