function NaughtyRecursiveLogger::__construct

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php \Drupal\Tests\Core\Logger\NaughtyRecursiveLogger::__construct()
  2. 10 core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php \Drupal\Tests\Core\Logger\NaughtyRecursiveLogger::__construct()
  3. 11.x core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php \Drupal\Tests\Core\Logger\NaughtyRecursiveLogger::__construct()

File

core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php, line 158

Class

NaughtyRecursiveLogger

Namespace

Drupal\Tests\Core\Logger

Code

public function __construct(LoggerChannel $channel) {
    $this->channel = $channel;
}

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