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

  • AbstractRequestVisitor
  • BodyVisitor
  • HeaderVisitor
  • JsonVisitor
  • PostFieldVisitor
  • PostFileVisitor
  • QueryVisitor
  • ResponseBodyVisitor
  • XmlVisitor

Interfaces

  • RequestVisitorInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class AbstractRequestVisitor

Location visitor used to add values to different locations in a request with different behaviors as needed

Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor implements Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface

Direct known subclasses

Guzzle\Service\Command\LocationVisitor\Request\BodyVisitor, Guzzle\Service\Command\LocationVisitor\Request\HeaderVisitor, Guzzle\Service\Command\LocationVisitor\Request\JsonVisitor, Guzzle\Service\Command\LocationVisitor\Request\PostFieldVisitor, Guzzle\Service\Command\LocationVisitor\Request\PostFileVisitor, Guzzle\Service\Command\LocationVisitor\Request\QueryVisitor, Guzzle\Service\Command\LocationVisitor\Request\ResponseBodyVisitor, Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor
Abstract
Namespace: Guzzle\Service\Command\LocationVisitor\Request
Located at src/Guzzle/Service/Command/LocationVisitor/Request/AbstractRequestVisitor.php
Methods summary
public
# after( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\RequestInterface $request )

Parameters

$command
Command being visited
$request
Request being visited

Codecoverageignore

Implementation of

Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface::after()
public
# visit( Guzzle\Service\Command\CommandInterface $command, Guzzle\Http\Message\RequestInterface $request, Guzzle\Service\Description\Parameter $param, mixed $value )

Parameters

$command
Command being visited
$request
Request being visited
$param
Parameter being visited
$value
Value to set

Codecoverageignore

Implementation of

Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface::visit()
protected array|mixed
# prepareValue( mixed $value, Guzzle\Service\Description\Parameter $param )

Prepare (filter and set desired name for request item) the value for request.

Prepare (filter and set desired name for request item) the value for request.

Parameters

$value
$param

Returns

array|mixed
protected array
# resolveRecursively( array $value, Guzzle\Service\Description\Parameter $param )

Map nested parameters into the location_key based parameters

Map nested parameters into the location_key based parameters

Parameters

$value
Value to map
$param
Parameter that holds information about the current key

Returns

array
Returns the mapped array
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen