/** * @return CarefulDatabaseRunner **/ public function commit() { if ($this->running) { $this->transaction->commit(); $this->running = false; } return $this; }