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

  • AbstractHasDispatcher
  • Collection
  • Event
  • Version

Interfaces

  • FromConfigInterface
  • HasDispatcherInterface
  • ToArrayInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class AbstractHasDispatcher

Class that holds an event dispatcher

Guzzle\Common\AbstractHasDispatcher implements Guzzle\Common\HasDispatcherInterface

Direct known subclasses

Guzzle\Http\Client, Guzzle\Http\Curl\CurlMulti, Guzzle\Http\Curl\CurlMultiProxy, Guzzle\Plugin\Backoff\BackoffPlugin, Guzzle\Plugin\Mock\MockPlugin, Guzzle\Service\Builder\ServiceBuilder, Guzzle\Service\Resource\ResourceIterator, Guzzle\Service\Resource\ResourceIteratorApplyBatched

Indirect known subclasses

Guzzle\Service\Client, Guzzle\Tests\Mock\MockMulti, Guzzle\Tests\Service\Mock\MockClient, Guzzle\Tests\Service\Mock\Model\MockCommandIterator
Namespace: Guzzle\Common
Located at src/Guzzle/Common/AbstractHasDispatcher.php
Methods summary
public static array
# getAllEvents( )

Get a list of all of the events emitted from the class

Get a list of all of the events emitted from the class

Returns

array

Implementation of

Guzzle\Common\HasDispatcherInterface::getAllEvents()
public Guzzle\Common\AbstractHasDispatcher
# setEventDispatcher( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )

Set the EventDispatcher of the request

Set the EventDispatcher of the request

Parameters

$eventDispatcher

Returns

Guzzle\Common\AbstractHasDispatcher

Implementation of

Guzzle\Common\HasDispatcherInterface::setEventDispatcher()
public Symfony\Component\EventDispatcher\EventDispatcherInterface
# getEventDispatcher( )

Get the EventDispatcher of the request

Get the EventDispatcher of the request

Returns

Symfony\Component\EventDispatcher\EventDispatcherInterface

Implementation of

Guzzle\Common\HasDispatcherInterface::getEventDispatcher()
public Guzzle\Common\Event
# dispatch( string $eventName, array $context = array() )

Helper to dispatch Guzzle events and set the event name on the event

Helper to dispatch Guzzle events and set the event name on the event

Parameters

$eventName
Name of the event to dispatch
$context
Context of the event

Returns

Guzzle\Common\Event
Returns the created event object

Implementation of

Guzzle\Common\HasDispatcherInterface::dispatch()
public Guzzle\Common\AbstractHasDispatcher
# addSubscriber( Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber )

Add an event subscriber to the dispatcher

Add an event subscriber to the dispatcher

Parameters

$subscriber
Event subscriber

Returns

Guzzle\Common\AbstractHasDispatcher

Implementation of

Guzzle\Common\HasDispatcherInterface::addSubscriber()
Properties summary
protected Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher
#
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen