You are here

class Transaction in Drupal 10

Same name in this branch
  1. 10 core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction
  2. 10 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Transaction.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Transaction
Same name and namespace in other branches
  1. 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Transaction.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Transaction

CorefakeWithAllCustomClasses implementation of \Drupal\Core\Database\Transaction.

Hierarchy

  • class \Drupal\Core\Database\Transaction
    • class \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Transaction

Expanded class hierarchy of Transaction

1 string reference to 'Transaction'
ConnectionTest::providerGetDriverClass in core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
Data provider for testGetDriverClass().

File

core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Transaction.php, line 10

Namespace

Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses
View source
class Transaction extends DatabaseTransaction {

}

Members

Namesort descending Modifiers Type Description Overrides
Transaction::$connection protected property The connection object for this transaction.
Transaction::$name protected property The name of the transaction.
Transaction::$rolledBack protected property A boolean value to indicate whether this transaction has been rolled back.
Transaction::name public function Retrieves the name of the transaction or savepoint.
Transaction::rollBack public function Rolls back the current transaction.
Transaction::__construct public function
Transaction::__destruct public function