/** * @return $this */ public function flush() { $this->checkFinalized(); $this->addCommand(new Command(Save::class, function () { return ' {flush}'; })); $builder = new self($this->isVerbose(), (string) $this . ' && '); $builder->addCommand(new Command(Open::class, function () { return ' {flush}'; })); return $builder; }