public function HasDispatcherInterface::dispatch

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

Parameters

string $eventName Name of the event to dispatch:

array $context Context of the event:

2 methods override HasDispatcherInterface::dispatch()
AbstractHasDispatcher::dispatch in drupal/core/vendor/guzzle/common/Guzzle/Common/AbstractHasDispatcher.php
Helper to dispatch Guzzle events and set the event name on the event
Request::dispatch in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php
Helper to dispatch Guzzle events and set the event name on the event

File

drupal/core/vendor/guzzle/common/Guzzle/Common/HasDispatcherInterface.php, line 42

Class

HasDispatcherInterface
Holds an event dispatcher

Namespace

Guzzle\Common

Code

public function dispatch($eventName, array $context = array());