protected function newMorphOne(Builder $query, Model $parent, $type, $id, $localKey)
    {
        return new MorphOne($query, $parent, $type, $id, $localKey);
    }
protected function newMorphOne(Builder $query, Model $parent, $type, $id, $localKey)
    {
        return new MorphOne($query, $parent, $type, $id, $localKey);
    }
protected function newMorphOne ( Builder $ query , Model $ parent , $ type , $ id , $ localKey ) { return new MorphOne ( $ query , $ parent , $ type , $ id , $ localKey ) ; }
Instantiate a new MorphOne relationship.

@param  \Illuminate\Database\Eloquent\Builder  $query
@param  \Illuminate\Database\Eloquent\Model  $parent
@param  string  $type
@param  string  $id
@param  string  $localKey
@return \Illuminate\Database\Eloquent\Relations\MorphOne
Instantiate a new MorphOne relationship .