����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 18.218.146.21 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/public_html/vendor/guzzle/guzzle/tests/Guzzle/Tests/Service/Mock/ |
Upload File : |
<?php namespace Guzzle\Tests\Service\Mock; use Guzzle\Common\Collection; use Guzzle\Service\Client; /** * Mock Guzzle Service */ class MockClient extends Client { /** * Factory method to create a new mock client * * @param array|Collection $config Configuration data. Array keys: * base_url - Base URL of web service * api_version - API version * scheme - URI scheme: http or https * * username - API username * * password - API password * * subdomain - Unfuddle account subdomain * * @return MockClient */ public static function factory($config = array()) { $config = Collection::fromConfig($config, array( 'base_url' => '{scheme}://127.0.0.1:8124/{api_version}/{subdomain}', 'scheme' => 'http', 'api_version' => 'v1' ), array('username', 'password', 'subdomain')); return new self($config->get('base_url'), $config); } }