Get 'related' URL link to resource relationship.
public getRelationshipRelatedLink ( object $resource, string $name, null | mixed $meta = null, boolean $treatAsHref = false ) : Neomerx\JsonApi\Contracts\Document\LinkInterface | ||
$resource | object | |
$name | string | |
$meta | null | mixed | |
$treatAsHref | boolean | |
return | Neomerx\JsonApi\Contracts\Document\LinkInterface |