public function Connection::getKey

Returns the key this connection is associated with.

Return value

The key of this connection.

File

drupal/core/lib/Drupal/Core/Database/Connection.php, line 371
Definition of Drupal\Core\Database\Connection

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

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