function 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.