public function AbstractEntityBodyDecorator::__construct

Wrap a entity body

Parameters

EntityBodyInterface $body Entity body to decorate:

1 call to AbstractEntityBodyDecorator::__construct()
ReadLimitEntityBody::__construct in drupal/core/vendor/guzzle/http/Guzzle/Http/ReadLimitEntityBody.php
1 method overrides AbstractEntityBodyDecorator::__construct()
ReadLimitEntityBody::__construct in drupal/core/vendor/guzzle/http/Guzzle/Http/ReadLimitEntityBody.php

File

drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php, line 22

Class

AbstractEntityBodyDecorator
Abstract decorator used to wrap entity bodies

Namespace

Guzzle\Http

Code

public function __construct(EntityBodyInterface $body) {
  $this->body = $body;
}