|
Open Journal Systems
3.3.0
|
Static Public Member Functions | |
| static | factory ($config=array()) |
Static Public Member Functions inherited from Guzzle\Service\Client | |
| static | getAllEvents () |
Static Public Member Functions inherited from Guzzle\Http\Client | |
| static | extractPharCacert ($pharCacertPath) |
Additional Inherited Members | |
Public Member Functions inherited from Guzzle\Service\Client | |
| __call ($method, $args) | |
| enableMagicMethods ($isEnabled) | |
| execute ($command) | |
| getCommand ($name, array $args=array()) | |
| getDescription () | |
| getInflector () | |
| getIterator ($command, array $commandOptions=null, array $iteratorOptions=array()) | |
| setCommandFactory (CommandFactoryInterface $factory) | |
| setDescription (ServiceDescriptionInterface $service) | |
| setInflector (InflectorInterface $inflector) | |
| setResourceIteratorFactory (ResourceIteratorFactoryInterface $factory) | |
Public Member Functions inherited from Guzzle\Http\Client | |
| __construct ($baseUrl='', $config=null) | |
| createRequest ($method='GET', $uri=null, $headers=null, $body=null, array $options=array()) | |
| delete ($uri=null, $headers=null, $body=null, array $options=array()) | |
| get ($uri=null, $headers=null, $options=array()) | |
| getBaseUrl ($expand=true) | |
| getConfig ($key=false) | |
| getCurlMulti () | |
| getDefaultHeaders () | |
| getDefaultOption ($keyOrPath) | |
| getDefaultUserAgent () | |
| head ($uri=null, $headers=null, array $options=array()) | |
| options ($uri=null, array $options=array()) | |
| patch ($uri=null, $headers=null, $body=null, array $options=array()) | |
| post ($uri=null, $headers=null, $postBody=null, array $options=array()) | |
| preparePharCacert ($md5Check=true) | |
| put ($uri=null, $headers=null, $body=null, array $options=array()) | |
| send ($requests) | |
| setBaseUrl ($url) | |
| setConfig ($config) | |
| setCurlMulti (CurlMultiInterface $curlMulti) | |
| setDefaultHeaders ($headers) | |
| setDefaultOption ($keyOrPath, $value) | |
| setRequestFactory (RequestFactoryInterface $factory) | |
| setSslVerification ($certificateAuthority=true, $verifyPeer=true, $verifyHost=2) | |
| setUriTemplate (UriTemplateInterface $uriTemplate) | |
| setUserAgent ($userAgent, $includeDefault=false) | |
Public Member Functions inherited from Guzzle\Common\AbstractHasDispatcher | |
| addSubscriber (EventSubscriberInterface $subscriber) | |
| dispatch ($eventName, array $context=array()) | |
| getEventDispatcher () | |
| setEventDispatcher (EventDispatcherInterface $eventDispatcher) | |
Data Fields inherited from Guzzle\Service\Client | |
| const | COMMAND_PARAMS = 'command.params' |
Data Fields inherited from Guzzle\Http\Client | |
| const | CURL_OPTIONS = 'curl.options' |
| const | DEFAULT_SELECT_TIMEOUT = 1.0 |
| const | DISABLE_REDIRECTS = RedirectPlugin::DISABLE |
| const | MAX_HANDLES = 3 |
| const | REQUEST_OPTIONS = 'request.options' |
| const | REQUEST_PARAMS = 'request.params' |
| const | SSL_CERT_AUTHORITY = 'ssl.certificate_authority' |
Data Fields inherited from Guzzle\Http\ClientInterface | |
| const | CREATE_REQUEST = 'client.create_request' |
| const | HTTP_DATE = 'D, d M Y H:i:s \G\M\T' |
Protected Member Functions inherited from Guzzle\Service\Client | |
| executeMultiple ($commands) | |
| getCommandFactory () | |
| getResourceIteratorFactory () | |
| prepareCommand (CommandInterface $command) | |
Protected Member Functions inherited from Guzzle\Http\Client | |
| expandTemplate ($template, array $variables=null) | |
| getUriTemplate () | |
| initSsl () | |
| prepareRequest (RequestInterface $request, array $options=array()) | |
| sendMultiple (array $requests) | |
Protected Attributes inherited from Guzzle\Service\Client | |
| $commandFactory | |
| $inflector | |
| $resourceIteratorFactory | |
| $serviceDescription | |
Protected Attributes inherited from Guzzle\Http\Client | |
| $defaultHeaders | |
| $requestFactory | |
| $userAgent | |
Protected Attributes inherited from Guzzle\Common\AbstractHasDispatcher | |
| $eventDispatcher | |
Definition at line 11 of file MockClient.php.
|
static |
Factory method to create a new mock client
| array | Collection | $config | Configuration data. Array keys: base_url - Base URL of web service api_version - API version scheme - URI scheme: http or https
|
Reimplemented from Guzzle\Service\Client.
Definition at line 26 of file MockClient.php.
References Guzzle\Common\Collection\fromConfig().