You are here

public function PumpStream::close in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/psr7/src/PumpStream.php \GuzzleHttp\Psr7\PumpStream::close()

Closes the stream and any underlying resources.

Return value

void

Overrides StreamInterface::close

File

vendor/guzzlehttp/psr7/src/PumpStream.php, line 60

Class

PumpStream
Provides a read only stream that pumps data from a PHP callable.

Namespace

GuzzleHttp\Psr7

Code

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