function LoggerChannelFactory::__construct
Same name in other branches
- 10 core/lib/Drupal/Core/Logger/LoggerChannelFactory.php \Drupal\Core\Logger\LoggerChannelFactory::__construct()
Constructs a LoggerChannelFactory.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $requestStack: (optional) The request stack.
\Drupal\Core\Session\AccountInterface $currentUser: (optional) The current user.
1 method overrides LoggerChannelFactory::__construct()
- LoggerChannelWithoutConstructor::__construct in core/
tests/ Drupal/ Tests/ Core/ Logger/ LoggerChannelFactoryTest.php - Constructs a LoggerChannelFactory.
File
-
core/
lib/ Drupal/ Core/ Logger/ LoggerChannelFactory.php, line 36
Class
- LoggerChannelFactory
- Defines a factory for logging channels.
Namespace
Drupal\Core\LoggerCode
public function __construct(RequestStack $requestStack, AccountInterface $currentUser) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.