public function show($id)
    {
        $modelName = $this->modelFullName;
        $model = $modelName::find($id);
        if(!$model) throw new NotFoundException('There is no Resource with id = ' . $id . ' !');
        return $model;
    }
public function show($id)
    {
        $modelName = $this->modelFullName;
        $model = $modelName::find($id);
        if(!$model) throw new NotFoundException('There is no Resource with id = ' . $id . ' !');
        return $model;
    }
public function show ( $ id ) { $ modelName = $ this -> modelFullName ; $ model = $ modelName :: find ( $ id ) ; if ( ! $ model ) throw new NotFoundException ( 'There is no Resource with id = ' . $ id . ' !' ) ; return $ model ; }
Return the specified resource.

@param int $id
@return \Illuminate\Database\Eloquent\Model|null
Return the specified resource .