public function IoEmittingEntityBody::setEventDispatcher

@codeCoverageIgnore

Overrides HasDispatcherInterface::setEventDispatcher

File

drupal/core/vendor/guzzle/http/Guzzle/Http/IoEmittingEntityBody.php, line 33

Class

IoEmittingEntityBody
EntityBody decorator that emits events for read and write methods

Namespace

Guzzle\Http

Code

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