Overrides StreamInterface::close
public function close() : void { if (isset($this->stream)) { if (is_resource($this->stream)) { fclose($this->stream); } $this->detach(); } }