DbLogController::$database

Same name in other branches
  1. 9 core/modules/dblog/src/Controller/DbLogController.php \Drupal\dblog\Controller\DbLogController::database
  2. 10 core/modules/dblog/src/Controller/DbLogController.php \Drupal\dblog\Controller\DbLogController::database
  3. 11.x core/modules/dblog/src/Controller/DbLogController.php \Drupal\dblog\Controller\DbLogController::database

The database service.

Type: \Drupal\Core\Database\Connection

File

core/modules/dblog/src/Controller/DbLogController.php, line 32

Class

DbLogController
Returns responses for dblog routes.

Namespace

Drupal\dblog\Controller

Code

protected $database;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.