public function purge()
{
$this->commands = [];
return $this;
}
/** * Purge the current unit of work, clearing any unexecuted commands * * @return void */ public function purge() { $this->unit_of_work->purge(); }