You are here

public function StreamDecoratorTrait::close in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php \GuzzleHttp\Psr7\StreamDecoratorTrait::close()
1 method overrides StreamDecoratorTrait::close()
CachingStream::close in vendor/guzzlehttp/psr7/src/CachingStream.php
Close both the remote stream and buffer stream

File

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

Class

StreamDecoratorTrait
Stream decorator trait @property StreamInterface stream

Namespace

GuzzleHttp\Psr7

Code

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