You are here

public function PumpStream::detach in Auth0 Single Sign On 8.2

Separates any underlying resources from the stream.

After the stream has been detached, the stream is in an unusable state.

Return value

resource|null Underlying PHP stream, if any

Overrides StreamInterface::detach

1 call to PumpStream::detach()
PumpStream::close in vendor/guzzlehttp/psr7/src/PumpStream.php
Closes the stream and any underlying resources.

File

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

Class

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

Namespace

GuzzleHttp\Psr7

Code

public function detach() {
  $this->tellPos = false;
  $this->source = null;
}