public function getResourceUrl($pathinfo, Site $site = null)
    {
        return $this->getUri($pathinfo, null, $site, RouteCollection::RESOURCE_URL);
    }
public function getResourceUrl($pathinfo, Site $site = null)
    {
        return $this->getUri($pathinfo, null, $site, RouteCollection::RESOURCE_URL);
    }
public function getResourceUrl ( $ pathinfo , Site $ site = null ) { return $ this -> getUri ( $ pathinfo , null , $ site , RouteCollection :: RESOURCE_URL ) ; }
Returns resource url.

@param string            $pathinfo
@param BackBee\Site\Site $site

@return string resource url
Returns resource url .