Zend\Feed\Reader\FeedSet::addLinks
Import a DOMNodeList from any document containing a set of links for alternate versions of a document, which will normally refer to RSS/RDF/Atom feeds for the current document.
All such links are stored internally, however the first instance of each RSS, RDF or Atom type has its URI stored as a public property as a shortcut where the use case is simply to get a quick feed ref. Note that feeds are not loaded at this point, but will be lazy loaded automatically when each links 'feed' array key is accessed.
Signature
public function addLinks(DOMNodeList
$links,
string
$uri )
Parameters
$links
— DOMNodeList
$uri
— string
Returns
- void