Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • MockClient
  • Overview
  • Namespace
  • Class
  • Tree

Class MockClient

Mock Guzzle Service

Guzzle\Common\AbstractHasDispatcher implements Guzzle\Common\HasDispatcherInterface
Extended by Guzzle\Http\Client implements Guzzle\Http\ClientInterface
Extended by Guzzle\Service\Client implements Guzzle\Service\ClientInterface
Extended by Guzzle\Tests\Service\Mock\MockClient
Namespace: Guzzle\Tests\Service\Mock
Located at tests/Guzzle/Tests/Service/Mock/MockClient.php
Methods summary
public static Guzzle\Tests\Service\Mock\MockClient
# factory( array|Guzzle\Common\Collection $config = array() )

Factory method to create a new mock client

Factory method to create a new mock client

Parameters

$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

Returns

Guzzle\Tests\Service\Mock\MockClient

Overrides

Guzzle\Service\Client::factory()
Methods inherited from Guzzle\Service\Client
__call(), enableMagicMethods(), execute(), executeMultiple(), getAllEvents(), getCommand(), getCommandFactory(), getDescription(), getInflector(), getIterator(), getResourceIteratorFactory(), prepareCommand(), setCommandFactory(), setDescription(), setInflector(), setResourceIteratorFactory()
Methods inherited from Guzzle\Http\Client
__construct(), createRequest(), delete(), expandTemplate(), extractPharCacert(), get(), getBaseUrl(), getConfig(), getCurlMulti(), getDefaultHeaders(), getDefaultOption(), getDefaultUserAgent(), getUriTemplate(), head(), initSsl(), options(), patch(), post(), preparePharCacert(), prepareRequest(), put(), send(), sendMultiple(), setBaseUrl(), setConfig(), setCurlMulti(), setDefaultHeaders(), setDefaultOption(), setRequestFactory(), setSslVerification(), setUriTemplate(), setUserAgent()
Methods inherited from Guzzle\Common\AbstractHasDispatcher
addSubscriber(), dispatch(), getEventDispatcher(), setEventDispatcher()
Constants inherited from Guzzle\Service\Client
COMMAND_PARAMS
Constants inherited from Guzzle\Http\Client
CURL_OPTIONS, DEFAULT_SELECT_TIMEOUT, DISABLE_REDIRECTS, MAX_HANDLES, REQUEST_OPTIONS, REQUEST_PARAMS, SSL_CERT_AUTHORITY
Constants inherited from Guzzle\Http\ClientInterface
CREATE_REQUEST, HTTP_DATE
Properties inherited from Guzzle\Service\Client
$commandFactory, $inflector, $resourceIteratorFactory, $serviceDescription
Properties inherited from Guzzle\Http\Client
$defaultHeaders, $requestFactory, $userAgent
Properties inherited from Guzzle\Common\AbstractHasDispatcher
$eventDispatcher
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen