src/UrlRedirect.php
protected static function hashBang(Url $url)
    {
        if (($path = preg_replace('|^(/?!)|', '', $url->getFragment()))) {
            return $url->withPath($url->getPath().$path)->getUrl();
        }

        return $url->getUrl();
    }
protected static function hashBang(Url $url)
    {
        if (($path = preg_replace('|^(/?!)|', '', $url->getFragment()))) {
            return $url->withPath($url->getPath().$path)->getUrl();
        }

        return $url->getUrl();
    }
protected static function hashBang ( Url $ url ) { if ( ( $ path = preg_replace ( '|^(/?!)|' , '' , $ url -> getFragment ( ) ) ) ) { return $ url -> withPath ( $ url -> getPath ( ) . $ path ) -> getUrl ( ) ; } return $ url -> getUrl ( ) ; }
Resolve an url with hashbang

@param Url $url

@return string
Resolve an url with hashbang