WordPress\AiClientDependencies\Nyholm\Psr7
Stream::close
Method of the class: Stream{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Stream = new Stream(); $Stream->close(): void;
Stream::close() Stream::close code WP 7.0
public function close(): void
{
if (isset($this->stream)) {
if (\is_resource($this->stream)) {
\fclose($this->stream);
}
$this->detach();
}
}