Overrides Printer::flush
public function flush() : void { if ($this->isOpen && $this->isPhpStream) { fclose($this->stream); $this->isOpen = false; } }