You are here

protected function Check::database in Security Review 8

Returns the database connection.

Return value

\Drupal\Core\Database\Connection Database connection.

File

src/Check.php, line 488

Class

Check
Defines a security check.

Namespace

Drupal\security_review

Code

protected function database() {
  return $this->container
    ->get('database');
}