You are here

public function Connection::__destruct in Zircon Profile 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::__destruct()
  2. 8 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php \Drupal\Core\Database\Driver\mysql\Connection::__destruct()
Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php \Drupal\Core\Database\Driver\mysql\Connection::__destruct()

File

core/lib/Drupal/Core/Database/Driver/mysql/Connection.php, line 196
Contains \Drupal\Core\Database\Driver\mysql\Connection.

Class

Connection
MySQL implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\Core\Database\Driver\mysql

Code

public function __destruct() {
  if ($this->needsCleanup) {
    $this
      ->nextIdDelete();
  }
}