public function StreamInterface::detach in Lockr 7.3
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
5 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.
- Stream::detach in vendor/
guzzlehttp/ psr7/ src/ Stream.php - Separates any underlying resources from the stream.
File
- vendor/
psr/ http-message/ src/ StreamInterface.php, line 44
Class
- StreamInterface
- Describes a data stream.
Namespace
Psr\Http\MessageCode
public function detach();