public function PumpStream::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
Overrides StreamInterface::detach
1 call to PumpStream::detach()
- PumpStream::close in vendor/
guzzlehttp/ psr7/ src/ PumpStream.php - Closes the stream and any underlying resources.
File
- vendor/
guzzlehttp/ psr7/ src/ PumpStream.php, line 65
Class
- PumpStream
- Provides a read only stream that pumps data from a PHP callable.
Namespace
GuzzleHttp\Psr7Code
public function detach() {
$this->tellPos = false;
$this->source = null;
}