Exemplo n.º 1
0
 /**
  * @param  AbstractLink $link
  * @return Links        $this
  */
 public function add(AbstractLink $link)
 {
     $name = $link->getRel()->getName();
     $this->items[$name] = $link;
     return $this;
 }
Exemplo n.º 2
0
 /**
  * @return AbstractRelMany
  */
 public function getRel()
 {
     return parent::getRel();
 }