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

  • IterableCommand
  • MockCommand
  • OtherCommand
  • Overview
  • Namespace
  • Class
  • Tree

Class MockCommand

Command object to handle preparing and processing client requests and responses of the requests

Guzzle\Common\Collection implements ArrayAccess, IteratorAggregate, Countable, Guzzle\Common\ToArrayInterface
Extended by Guzzle\Service\Command\AbstractCommand implements Guzzle\Service\Command\CommandInterface
Extended by Guzzle\Tests\Service\Mock\Command\MockCommand

Direct known subclasses

Guzzle\Tests\Service\Mock\Command\IterableCommand, Guzzle\Tests\Service\Mock\Command\OtherCommand, Guzzle\Tests\Service\Mock\Command\Sub\Sub
Namespace: Guzzle\Tests\Service\Mock\Command
Located at tests/Guzzle/Tests/Service/Mock/Command/MockCommand.php
Methods summary
protected OperationInterface
# createOperation( )

Hook used to create an operation for concrete commands that are not associated with a service description

Hook used to create an operation for concrete commands that are not associated with a service description

Returns

OperationInterface

Overrides

Guzzle\Service\Command\AbstractCommand::createOperation()
protected
# build( )

Create the request object that will carry out the command

Create the request object that will carry out the command

Methods inherited from Guzzle\Service\Command\AbstractCommand
__clone(), __construct(), __invoke(), execute(), getClient(), getName(), getOperation(), getRequest(), getRequestHeaders(), getResponse(), getResult(), getValidationErrors(), getValidator(), init(), isExecuted(), isPrepared(), prepare(), process(), setClient(), setOnComplete(), setResult(), setValidator(), validate()
Methods inherited from Guzzle\Common\Collection
add(), clear(), count(), filter(), fromConfig(), get(), getAll(), getIterator(), getKeys(), getPath(), hasKey(), hasValue(), inject(), keySearch(), map(), merge(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), overwriteWith(), remove(), replace(), set(), setPath(), toArray()
Constants inherited from Guzzle\Service\Command\AbstractCommand
DISABLE_VALIDATION, HEADERS_OPTION, HIDDEN_PARAMS, ON_COMPLETE, REQUEST_OPTIONS, RESPONSE_BODY, RESPONSE_PROCESSING, TYPE_MODEL, TYPE_NO_TRANSLATION, TYPE_RAW
Properties inherited from Guzzle\Service\Command\AbstractCommand
$client, $onComplete, $operation, $request, $result, $validator
Properties inherited from Guzzle\Common\Collection
$data
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen