자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $item = \ApiHandler::parseSingle($this->model, $id)->getResult(); return \Fractal::item($item, $this->transformer)->getArray(); }