public function RelativeStream::detach in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-diactoros/src/RelativeStream.php \Zend\Diactoros\RelativeStream::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/
zendframework/ zend-diactoros/ src/ RelativeStream.php, line 65
Class
- RelativeStream
- Class RelativeStream
Namespace
Zend\DiactorosCode
public function detach() {
return $this->decoratedStream
->detach();
}