class LoggerChannelWithoutConstructor

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php \Drupal\Tests\Core\Logger\LoggerChannelWithoutConstructor

Hierarchy

Expanded class hierarchy of LoggerChannelWithoutConstructor

File

core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php, line 36

Namespace

Drupal\Tests\Core\Logger
View source
class LoggerChannelWithoutConstructor extends LoggerChannelFactory {
    public function __construct() {
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
LoggerChannelFactory::$channels protected property Array of all instantiated logger channels keyed by channel name.
LoggerChannelFactory::$loggers protected property An array of arrays of \Psr\Log\LoggerInterface keyed by priority.
LoggerChannelFactory::addLogger public function Adds a logger to all the channels. Overrides LoggerChannelFactoryInterface::addLogger
LoggerChannelFactory::get public function Retrieves the registered logger for the requested channel. Overrides LoggerChannelFactoryInterface::get
LoggerChannelWithoutConstructor::__construct public function Constructs a LoggerChannelFactory. Overrides LoggerChannelFactory::__construct

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