public function getFeedItemLink()
    {
        $parameters = $this->item->getFeedItemRouteParameters() ?: [];

        $url = $this->router->generate($this->item->getFeedItemRouteName(), $parameters, UrlGeneratorInterface::ABSOLUTE_URL);

        $anchor = (string) $this->item->getFeedItemUrlAnchor();
        if ($anchor !== '') {
            $url .= '#'.$anchor;
        }

        return $url;
    }
public function getFeedItemLink()
    {
        $parameters = $this->item->getFeedItemRouteParameters() ?: [];

        $url = $this->router->generate($this->item->getFeedItemRouteName(), $parameters, UrlGeneratorInterface::ABSOLUTE_URL);

        $anchor = (string) $this->item->getFeedItemUrlAnchor();
        if ($anchor !== '') {
            $url .= '#'.$anchor;
        }

        return $url;
    }
public function getFeedItemLink ( ) { $ parameters = $ this -> item -> getFeedItemRouteParameters ( ) ? : [ ] ; $ url = $ this -> router -> generate ( $ this -> item -> getFeedItemRouteName ( ) , $ parameters , UrlGeneratorInterface :: ABSOLUTE_URL ) ; $ anchor = ( string ) $ this -> item -> getFeedItemUrlAnchor ( ) ; if ( $ anchor !== '' ) { $ url .= '#' . $ anchor ; } return $ url ; }
This method returns feed item URL link.

@return string
This method returns feed item URL link .