public Connection::getKey()
Returns the key this connection is associated with.
Return value
string|null The key of this connection, or NULL if no key is set.
File
core/lib/Drupal/Core/Database/Connection.php, line 437
Class
Connection Base Database API class.
Namespace
Drupal\Core\Database
Code
public function getKey() {
return $this->key;
}