protected function fontsUrl($fonts): string
    {
        $font_families = \array_keys($fonts);

        $query_args = [
            'family' => \rawurlencode(\implode('|', $font_families)),
            'subset' => \rawurlencode('latin,latin-ext'),
        ];

        return \add_query_arg($query_args, 'https://fonts.googleapis.com/css');
    }
protected function fontsUrl($fonts): string
    {
        $font_families = \array_keys($fonts);

        $query_args = [
            'family' => \rawurlencode(\implode('|', $font_families)),
            'subset' => \rawurlencode('latin,latin-ext'),
        ];

        return \add_query_arg($query_args, 'https://fonts.googleapis.com/css');
    }
protected function fontsUrl ( $ fonts ) : string { $ font_families = \ array_keys ( $ fonts ) ; $ query_args = [ 'family' => \ rawurlencode ( \ implode ( '|' , $ font_families ) ) , 'subset' => \ rawurlencode ( 'latin,latin-ext' ) , ] ; return \ add_query_arg ( $ query_args , 'https://fonts.googleapis.com/css' ) ; }
Build the fonts URL.

@return string URL for Google Fonts.
Build the fonts URL .