You are here

public function AppendStream::detach in Zircon Profile 8

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

Detaches each attached stream

Overrides StreamInterface::detach

File

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

Class

AppendStream
Reads from multiple streams, one after the other.

Namespace

GuzzleHttp\Psr7

Code

public function detach() {
  $this
    ->close();
  $this->detached = true;
}