commitTransaction() public method

public commitTransaction ( integer $transactionId )
$transactionId integer
 public function success()
 {
     $this->assertNotClosed();
     $this->assertStarted();
     try {
         $this->session->commitTransaction($this->transactionId);
     } catch (Neo4jException $e) {
         if ($e->effect() === Neo4jExceptionInterface::EFFECT_ROLLBACK) {
             $this->state = self::ROLLED_BACK;
         }
         throw $e;
     }
     $this->state = self::COMMITED;
     $this->closed = true;
     $this->session->transaction = null;
 }