CommentStatisticsUnitTest::$database
Same name in other branches
- 8.9.x core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php \Drupal\Tests\comment\Unit\CommentStatisticsUnitTest::database
- 10 core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php \Drupal\Tests\comment\Unit\CommentStatisticsUnitTest::database
- 11.x core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php \Drupal\Tests\comment\Unit\CommentStatisticsUnitTest::database
Mock database connection.
Type: \Drupal\Core\Database\Connection
File
-
core/
modules/ comment/ tests/ src/ Unit/ CommentStatisticsUnitTest.php, line 34
Class
- CommentStatisticsUnitTest
- @coversDefaultClass \Drupal\comment\CommentStatistics @group comment
Namespace
Drupal\Tests\comment\UnitCode
protected $database;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.