/** * @return $this */ public function rollback() { if (SQL::isTransactionActive()) { SQL::cancelTransaction(); } return $this; }