original_string: public function setModel(Model $model)
      {
          $this->model = $model;
  
          $this->query->from($model->getTable());
  
          return $this;
      }
code: public function setModel(Model $model)
      {
          $this->model = $model;
  
          $this->query->from($model->getTable());
  
          return $this;
      }
code_tokens: public function setModel ( Model $ model ) { $ this -> model = $ model ; $ this -> query -> from ( $ model -> getTable ( ) ) ; return $ this ; }
docstring: Set a model instance for the model being queried.
  
  @param  \Illuminate\Database\Eloquent\Model  $model
  @return $this
docstring_tokens: Set a model instance for the model being queried .