Spanner/src/Operation.php
public function rollback(Session $session, $transactionId, array $options = [])
    {
        return $this->connection->rollback([
            'transactionId' => $transactionId,
            'session' => $session->name(),
            'database' => $session->info()['database']
        ] + $options);
    }
public function rollback(Session $session, $transactionId, array $options = [])
    {
        return $this->connection->rollback([
            'transactionId' => $transactionId,
            'session' => $session->name(),
            'database' => $session->info()['database']
        ] + $options);
    }
public function rollback ( Session $ session , $ transactionId , array $ options = [ ] ) { return $ this -> connection -> rollback ( [ 'transactionId' => $ transactionId , 'session' => $ session -> name ( ) , 'database' => $ session -> info ( ) [ 'database' ] ] + $ options ) ; }
Rollback a Transaction.

@param Session $session The session to use for the rollback.
Note that the session MUST be the same one in which the
transaction was created.
@param string $transactionId The transaction to roll back.
@param array $options [optional] Configuration Options.
@return void
Rollback a Transaction .