src/HasRelationships.php
protected function newHasOneDeep(Builder $query, Model $farParent, array $throughParents, array $foreignKeys, array $localKeys)
    {
        return new HasOneDeep($query, $farParent, $throughParents, $foreignKeys, $localKeys);
    }
protected function newHasOneDeep(Builder $query, Model $farParent, array $throughParents, array $foreignKeys, array $localKeys)
    {
        return new HasOneDeep($query, $farParent, $throughParents, $foreignKeys, $localKeys);
    }
protected function newHasOneDeep ( Builder $ query , Model $ farParent , array $ throughParents , array $ foreignKeys , array $ localKeys ) { return new HasOneDeep ( $ query , $ farParent , $ throughParents , $ foreignKeys , $ localKeys ) ; }
Instantiate a new HasOneDeep relationship.

@param  \Illuminate\Database\Eloquent\Builder  $query
@param  \Illuminate\Database\Eloquent\Model  $farParent
@param  \Illuminate\Database\Eloquent\Model[]  $throughParents
@param  array  $foreignKeys
@param  array  $localKeys
@return \Staudenmeir\EloquentHasManyDeep\HasOneDeep
Instantiate a new HasOneDeep relationship .