public function find($modelitemId)
    {
        $this->model = $this->model->findOrFail($modelitemId);

        return $this->model;
    }
public function find($modelitemId)
    {
        $this->model = $this->model->findOrFail($modelitemId);

        return $this->model;
    }
public function find ( $ modelitemId ) { $ this -> model = $ this -> model -> findOrFail ( $ modelitemId ) ; return $ this -> model ; }
Finds an existing Model entry and sets it to the current model.

@param int $modelitemId

@return
Finds an existing Model entry and sets it to the current model .