public function FnStream::detach in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/FnStream.php \GuzzleHttp\Psr7\FnStream::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
Overrides StreamInterface::detach
File
- vendor/
guzzlehttp/ psr7/ src/ FnStream.php, line 85
Class
- FnStream
- Compose stream implementations based on a hash of functions.
Namespace
GuzzleHttp\Psr7Code
public function detach() {
return call_user_func($this->_fn_detach);
}