You are here

public function StreamInterface::detach in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/psr/http-message/src/StreamInterface.php \Psr\Http\Message\StreamInterface::detach()

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

8 methods override StreamInterface::detach()
AppendStream::detach in vendor/guzzlehttp/psr7/src/AppendStream.php
Detaches each attached stream
BufferStream::detach in vendor/guzzlehttp/psr7/src/BufferStream.php
Separates any underlying resources from the stream.
FnStream::detach in vendor/guzzlehttp/psr7/src/FnStream.php
Separates any underlying resources from the stream.
PumpStream::detach in vendor/guzzlehttp/psr7/src/PumpStream.php
Separates any underlying resources from the stream.
RelativeStream::detach in vendor/zendframework/zend-diactoros/src/RelativeStream.php
Separates any underlying resources from the stream.

... See full list

File

vendor/psr/http-message/src/StreamInterface.php, line 44

Class

StreamInterface
Describes a data stream.

Namespace

Psr\Http\Message

Code

public function detach();