CommentStatistics::$database

Same name in other branches
  1. 9 core/modules/comment/src/CommentStatistics.php \Drupal\comment\CommentStatistics::database
  2. 8.9.x core/modules/comment/src/CommentStatistics.php \Drupal\comment\CommentStatistics::database
  3. 11.x core/modules/comment/src/CommentStatistics.php \Drupal\comment\CommentStatistics::database

The current database connection.

Type: \Drupal\Core\Database\Connection

File

core/modules/comment/src/CommentStatistics.php, line 22

Class

CommentStatistics

Namespace

Drupal\comment

Code

protected $database;

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