Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • 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
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • AbstractHasDispatcher
  • Collection
  • Event
  • Version

Interfaces

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

Interface HasDispatcherInterface

Holds an event dispatcher

Direct known implementers

Guzzle\Common\AbstractHasDispatcher, Guzzle\Http\ClientInterface, Guzzle\Http\Curl\CurlMultiInterface, Guzzle\Http\IoEmittingEntityBody, Guzzle\Http\Message\RequestInterface, Guzzle\Service\Resource\ResourceIteratorInterface

Indirect known implementers

Guzzle\Http\Client, Guzzle\Http\Curl\CurlMulti, Guzzle\Service\ClientInterface, Guzzle\Service\Resource\ResourceIterator, Guzzle\Service\Resource\ResourceIteratorApplyBatched, Guzzle\Http\Curl\CurlMultiProxy, Guzzle\Http\Message\EntityEnclosingRequest, Guzzle\Http\Message\EntityEnclosingRequestInterface, Guzzle\Http\Message\Request, Guzzle\Plugin\Backoff\BackoffPlugin, Guzzle\Plugin\Mock\MockPlugin, Guzzle\Service\Builder\ServiceBuilder, Guzzle\Service\Client
Namespace: Guzzle\Common
Located at Guzzle/Common/HasDispatcherInterface.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
public Guzzle\Common\HasDispatcherInterface
# setEventDispatcher( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )

Set the EventDispatcher of the request

Set the EventDispatcher of the request

Parameters

$eventDispatcher
Symfony\Component\EventDispatcher\EventDispatcherInterface
$eventDispatcher

Returns

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

Get the EventDispatcher of the request

Get the EventDispatcher of the request

Returns

Symfony\Component\EventDispatcher\EventDispatcherInterface
public
# 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
string
$eventName Name of the event to dispatch
$context
array
$context Context of the event
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
Symfony\Component\EventDispatcher\EventSubscriberInterface
$subscriber Event subscriber

Returns

Guzzle\Common\AbstractHasDispatcher
php-coveralls API documentation generated by ApiGen 2.8.0