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