Class Guzzle\Common\AbstractHasDispatcher

InheritanceGuzzle\Common\AbstractHasDispatcher
ImplementsGuzzle\Common\HasDispatcherInterface
SubclassesGuzzle\Http\Client, Guzzle\Http\Curl\CurlMulti, Guzzle\Http\Curl\CurlMultiProxy, Guzzle\Plugin\Backoff\BackoffPlugin, Guzzle\Plugin\Mock\MockPlugin, Guzzle\Service\Builder\ServiceBuilder, Guzzle\Service\Client, Guzzle\Service\Resource\ResourceIterator, Guzzle\Service\Resource\ResourceIteratorApplyBatched

Class that holds an event dispatcher

Property Details

$eventDispatcher protected property

Method Details

addSubscriber() public method

public void addSubscriber ( Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber )
$subscriber
dispatch() public method

public void dispatch ( $eventName, array $context = [] )
$eventName
$context
getAllEvents() public static method

public static void getAllEvents ( )
getEventDispatcher() public method

public void getEventDispatcher ( )
setEventDispatcher() public method

public void setEventDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher )
$eventDispatcher