protected function _addLinks(Link $link) { if ($link->getRel() != 'self' && !is_numeric($link->getRel())) { $this->_addLink($link); } }