public function getRelationshipUri(string $type, $id, string $field, array $params = []): string
    {
        return $this->url([$type, $id, 'relationships', $field], $params);
    }
public function getRelationshipUri(string $type, $id, string $field, array $params = []): string
    {
        return $this->url([$type, $id, 'relationships', $field], $params);
    }
public function getRelationshipUri ( string $ type , $ id , string $ field , array $ params = [ ] ) : string { return $ this -> url ( [ $ type , $ id , 'relationships' , $ field ] , $ params ) ; }
Get the URI for the resource's relationship.

@param string $type
@param mixed $id
@param string $field
@param array $params
@return string
Get the URI for the resource s relationship .