function Connection::__destruct

File

core/lib/Drupal/Core/Database/Driver/mysql/Connection.php, line 529

Class

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

Namespace

Drupal\Core\Database\Driver\mysql

Code

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

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