File "Url.php"

Full path: E:/sites/Single15/tinmung2007/webroot/phpMyAdmin/phpMyAdmin/vendor/pragmarx/google2fa/src/Support/Url.php
File size: 380 B
MIME-type:
Charset: utf-8

Download   Open   Back

<?php

namespace PragmaRX\Google2FA\Support;

class Url
{
    public static function generateGoogleQRCodeUrl(
        $domain,
        $page,
        $queryParameters,
        $qrCodeUrl
    ) {
        $url =
            $domain .
            rawurlencode($page) .
            '?' .
            $queryParameters .
            urlencode($qrCodeUrl);

        return $url;
    }
}

PHP File Manager