You are here

public function StreamDecoratorTrait::getSize in Lockr 7.3

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();
}