Server IP : 104.21.14.103 / Your IP : 18.222.120.131 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/duplicator-pro/aws/Guzzle/Parser/UriTemplate/ |
Upload File : |
<?php namespace DuplicatorPro\Guzzle\Parser\UriTemplate; defined("ABSPATH") or die(""); use DuplicatorPro\Guzzle\Common\Exception\RuntimeException; /** * Expands URI templates using the uri_template pecl extension (pecl install uri_template-beta) * * @link http://pecl.php.net/package/uri_template * @link https://github.com/ioseb/uri-template */ class PeclUriTemplate implements UriTemplateInterface { public function __construct() { if (!extension_loaded('uri_template')) { throw new RuntimeException('uri_template PECL extension must be installed to use PeclUriTemplate'); } } public function expand($template, array $variables) { return uri_template($template, $variables); } }