You are here

public function Connection::setKey in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::setKey()

File

lib/Drupal/Core/Database/Connection.php, line 55
Contains \Drupal\Core\Database\Connection.

Class

Connection

Namespace

Drupal\Core\Database

Code

public function setKey($key) {
  return $this->connection
    ->setKey($key);
}