public function AbstractEntityBodyDecorator::getSize

Get the size of the stream if able

Return value

int|bool

Overrides StreamInterface::getSize

File

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

Class

AbstractEntityBodyDecorator
Abstract decorator used to wrap entity bodies

Namespace

Guzzle\Http

Code

public function getSize() {
  return $this->body
    ->getSize();
}