function TransactionManagerInterface::voidClientTransaction

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php \Drupal\Core\Database\Transaction\TransactionManagerInterface::voidClientTransaction()
  2. 10 core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php \Drupal\Core\Database\Transaction\TransactionManagerInterface::voidClientTransaction()

Voids the client connection.

Void any existing items on the stack so that when outliving Transaction objects get out of scope they will not try operations on the database.

This method should only be called internally by a database driver.

1 method overrides TransactionManagerInterface::voidClientTransaction()
TransactionManagerBase::voidClientTransaction in core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php
Voids the client connection.

File

core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php, line 134

Class

TransactionManagerInterface
Interface for the database transaction manager classes.

Namespace

Drupal\Core\Database\Transaction

Code

public function voidClientTransaction() : void;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.