original_string: protected function newHasOneThrough(Builder $query, Model $farParent, Model $throughParent, $firstKey, $secondKey, $localKey, $secondLocalKey)
      {
          return new HasOneThrough($query, $farParent, $throughParent, $firstKey, $secondKey, $localKey, $secondLocalKey);
      }
code: protected function newHasOneThrough(Builder $query, Model $farParent, Model $throughParent, $firstKey, $secondKey, $localKey, $secondLocalKey)
      {
          return new HasOneThrough($query, $farParent, $throughParent, $firstKey, $secondKey, $localKey, $secondLocalKey);
      }
code_tokens: protected function newHasOneThrough ( Builder $ query , Model $ farParent , Model $ throughParent , $ firstKey , $ secondKey , $ localKey , $ secondLocalKey ) { return new HasOneThrough ( $ query , $ farParent , $ throughParent , $ firstKey , $ secondKey , $ localKey , $ secondLocalKey ) ; }
docstring: Instantiate a new HasOneThrough relationship.
  
  @param  \Illuminate\Database\Eloquent\Builder  $query
  @param  \Illuminate\Database\Eloquent\Model  $farParent
  @param  \Illuminate\Database\Eloquent\Model  $throughParent
  @param  string  $firstKey
  @param  string  $secondKey
  @param  string  $localKey
  @param  string  $secondLocalKey
  @return \Illuminate\Database\Eloquent\Relations\HasOneThrough
docstring_tokens: Instantiate a new HasOneThrough relationship .