function ConsoleSubscriber::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Command/EventSubscriber/ConsoleSubscriber.php \Drupal\Core\Command\EventSubscriber\ConsoleSubscriber::__construct()
File
-
core/
lib/ Drupal/ Core/ Command/ EventSubscriber/ ConsoleSubscriber.php, line 19
Class
- ConsoleSubscriber
- Set a logger so that log messages appear in console output.
Namespace
Drupal\Core\Command\EventSubscriberCode
public function __construct(protected DrupalConsoleLogger $logger) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.