You are here

public function Connection::__construct in Service Container 7

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

File

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

Class

Connection

Namespace

Drupal\Core\Database

Code

public function __construct(\DatabaseConnection $connection) {
  $this->connection = $connection;
}