function LoggerChannelWithoutConstructor::__construct
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php \Drupal\Tests\Core\Logger\LoggerChannelWithoutConstructor::__construct()
- 10 core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php \Drupal\Tests\Core\Logger\LoggerChannelWithoutConstructor::__construct()
Constructs a LoggerChannelFactory.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $requestStack: (optional) The request stack.
\Drupal\Core\Session\AccountInterface $currentUser: (optional) The current user.
Overrides LoggerChannelFactory::__construct
File
-
core/
tests/ Drupal/ Tests/ Core/ Logger/ LoggerChannelFactoryTest.php, line 42
Class
- LoggerChannelWithoutConstructor
- Call to test a logger channel class with no constructor.
Namespace
Drupal\Tests\Core\LoggerCode
public function __construct() {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.