Add links to the document
public addLinks ( string $rel, array $links, boolean $overwrite = true ) : boolean | ||
$rel | string | The relation of the link to the document. See RFC 5988 |
$links | array | An array of FOFHalLink objects |
$overwrite | boolean | When false and a link of $rel relation exists, an array of links is created. Otherwise the existing link is overwriten with the new one |
return | boolean |