Add multiple links to the links collection
public addLinks ( string $rel, array $links, boolean $overwrite = true ) : boolean | ||
$rel | string | The relation of the links 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 | True if the link was added to the collection |