You are here

public function Stream::__destruct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/Stream.php \GuzzleHttp\Psr7\Stream::__destruct()

Closes the stream when the destructed

File

vendor/guzzlehttp/psr7/src/Stream.php, line 85

Class

Stream
PHP stream implementation.

Namespace

GuzzleHttp\Psr7

Code

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