public function AbstractHasDispatcher::setEventDispatcher

Set the EventDispatcher of the request

Parameters

EventDispatcherInterface $eventDispatcher:

Return value

HasDispatcherInterface

Overrides HasDispatcherInterface::setEventDispatcher

File

drupal/core/vendor/guzzle/common/Guzzle/Common/AbstractHasDispatcher.php, line 30

Class

AbstractHasDispatcher
Class that holds an event dispatcher

Namespace

Guzzle\Common

Code

public function setEventDispatcher(EventDispatcherInterface $eventDispatcher) {
  $this->eventDispatcher = $eventDispatcher;
  return $this;
}