public function Context::__destruct in Drupal driver for SQL Server and SQL Azure 8
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Context.php, line 79
Class
- Context
- Defines a behaviour scope for the database driver that lasts until the object is destroyed.
Namespace
Drupal\Driver\Database\sqlsrvCode
public function __destruct() {
// Restore previous driver configuration.
$this->connection->driver_settings = $this->settings;
}