You are here

public function BufferStream::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

File

vendor/guzzlehttp/psr7/src/BufferStream.php, line 49

Class

BufferStream
Provides a buffer stream that can be written to to fill a buffer, and read from to remove bytes from the buffer.

Namespace

GuzzleHttp\Psr7

Code

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