private function afterCommit()
    {
        if (!$this->isInTransaction()) {
            return;
        }

        if (!$this->transLevelRolledBack[$this->transLevel]) {
            if ($this->transLevel == 1) {
                foreach ($this->commitCallbacks as $callback) {
                    $callback();
                }
                $this->cleanAfterCommit();
            }
        }
    }
private function afterCommit()
    {
        if (!$this->isInTransaction()) {
            return;
        }

        if (!$this->transLevelRolledBack[$this->transLevel]) {
            if ($this->transLevel == 1) {
                foreach ($this->commitCallbacks as $callback) {
                    $callback();
                }
                $this->cleanAfterCommit();
            }
        }
    }
private function afterCommit ( ) { if ( ! $ this -> isInTransaction ( ) ) { return ; } if ( ! $ this -> transLevelRolledBack [ $ this -> transLevel ] ) { if ( $ this -> transLevel == 1 ) { foreach ( $ this -> commitCallbacks as $ callback ) { $ callback ( ) ; } $ this -> cleanAfterCommit ( ) ; } } }
Run callbacks on commit
Run callbacks on commit