public static function hostToAscii($uri)
    {
        return $uri->withHost((string) (new Host(self::filterUri($uri)->getHost())));
    }
public static function hostToAscii($uri)
    {
        return $uri->withHost((string) (new Host(self::filterUri($uri)->getHost())));
    }
public static function hostToAscii ( $ uri ) { return $ uri -> withHost ( ( string ) ( new Host ( self :: filterUri ( $ uri ) -> getHost ( ) ) ) ) ; }
Convert the URI host part to its ascii value.


@return Psr7UriInterface|UriInterface
Convert the URI host part to its ascii value .