You are here

public function MockLogger::__construct in MongoDB 8.2

TestLogger mock constructor.

Overrides Logger::__construct

File

modules/mongodb_watchdog/tests/src/Unit/MockLogger.php, line 24

Class

MockLogger
Class MockLogger provides a Logger implementation usable in unit tests.

Namespace

Drupal\Tests\mongodb_watchdog\Unit

Code

public function __construct() {

  // This override avoids requiring actual services.
}