public function LoggerChannel::setRequestStack in Service Container 7.2
Same name and namespace in other branches
- 7 src/Logger/LoggerChannel.php \Drupal\service_container\Logger\LoggerChannel::setRequestStack()
Sets the request stack.
Parameters
\Symfony\Component\HttpFoundation\RequestStack|null $requestStack: The current request object.
Overrides LoggerChannelInterface::setRequestStack
File
- src/
Logger/ LoggerChannel.php, line 103 - Contains \Drupal\service_container\Logger\LoggerChannel.
Class
- LoggerChannel
- Defines a logger channel that most implementations will use.
Namespace
Drupal\service_container\LoggerCode
public function setRequestStack(RequestStack $requestStack = NULL) {
$this->requestStack = $requestStack;
}