original_string: protected function newQuery()
      {
          $query = $this->model->newQuery();
  
          foreach ($this->withRelationships as $relationship) {
              $query->with($relationship);
          }
  
          return $query;
      }
code: protected function newQuery()
      {
          $query = $this->model->newQuery();
  
          foreach ($this->withRelationships as $relationship) {
              $query->with($relationship);
          }
  
          return $query;
      }
code_tokens: protected function newQuery ( ) { $ query = $ this -> model -> newQuery ( ) ; foreach ( $ this -> withRelationships as $ relationship ) { $ query -> with ( $ relationship ) ; } return $ query ; }
docstring: Create a new newQuery instance with eager loaded relationships.
  
  @return newQuery
docstring_tokens: Create a new newQuery instance with eager loaded relationships .