protected function newHasOneThrough(Builder $query, Model $farParent, Model $throughParent, $firstKey, $secondKey, $localKey, $secondLocalKey)
    {
        return new HasOneThrough($query, $farParent, $throughParent, $firstKey, $secondKey, $localKey, $secondLocalKey);
    }
protected function newHasOneThrough(Builder $query, Model $farParent, Model $throughParent, $firstKey, $secondKey, $localKey, $secondLocalKey)
    {
        return new HasOneThrough($query, $farParent, $throughParent, $firstKey, $secondKey, $localKey, $secondLocalKey);
    }
protected function newHasOneThrough ( Builder $ query , Model $ farParent , Model $ throughParent , $ firstKey , $ secondKey , $ localKey , $ secondLocalKey ) { return new HasOneThrough ( $ query , $ farParent , $ throughParent , $ firstKey , $ secondKey , $ localKey , $ secondLocalKey ) ; }
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
Instantiate a new HasOneThrough relationship .