public function Stream::close in Lockr 7.3
Closes the stream and any underlying resources.
Return value
void
Overrides StreamInterface::close
1 call to Stream::close()
- Stream::__destruct in vendor/
guzzlehttp/ psr7/ src/ Stream.php - Closes the stream when the destructed
File
- vendor/
guzzlehttp/ psr7/ src/ Stream.php, line 106
Class
- Stream
- PHP stream implementation.
Namespace
GuzzleHttp\Psr7Code
public function close() {
if (isset($this->stream)) {
if (is_resource($this->stream)) {
fclose($this->stream);
}
$this
->detach();
}
}