src/Traits/WithMappedLinkTrait.php
public function setUrl($url)
    {
        $relation = new RelationLink();
        $relation
            ->setRelationType('self')
            ->setUrl($url);
        return $this->setRelation($relation);
    }
public function setUrl($url)
    {
        $relation = new RelationLink();
        $relation
            ->setRelationType('self')
            ->setUrl($url);
        return $this->setRelation($relation);
    }
public function setUrl ( $ url ) { $ relation = new RelationLink ( ) ; $ relation -> setRelationType ( 'self' ) -> setUrl ( $ url ) ; return $ this -> setRelation ( $ relation ) ; }
Set the feed url.
@param string $url
@return $this
Set the feed url .