You are here

public function StreamDecoratorTrait::getSize in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php \GuzzleHttp\Psr7\StreamDecoratorTrait::getSize()
2 methods override StreamDecoratorTrait::getSize()
CachingStream::getSize in vendor/guzzlehttp/psr7/src/CachingStream.php
Get the size of the stream if known.
LimitStream::getSize in vendor/guzzlehttp/psr7/src/LimitStream.php
Returns the size of the limited subset of data

File

vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php, line 89

Class

StreamDecoratorTrait
Stream decorator trait @property StreamInterface stream

Namespace

GuzzleHttp\Psr7

Code

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