Create link.
public createLink ( string $subHref, array | object | null $meta = null, boolean $treatAsHref = false ) : Neomerx\JsonApi\Contracts\Document\LinkInterface | ||
$subHref | string | |
$meta | array | object | null | |
$treatAsHref | boolean | If $subHref is a full URL and must not be concatenated with other URLs. |
return | Neomerx\JsonApi\Contracts\Document\LinkInterface |