You are here

public function LoggerChannelInterface::setRequestStack in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Core/Logger/LoggerChannelInterface.php \Drupal\Core\Logger\LoggerChannelInterface::setRequestStack()

Sets the request stack.

Parameters

\Symfony\Component\HttpFoundation\RequestStack|null $requestStack: The current request object.

1 method overrides LoggerChannelInterface::setRequestStack()
LoggerChannel::setRequestStack in src/Logger/LoggerChannel.php
Sets the request stack.

File

lib/Drupal/Core/Logger/LoggerChannelInterface.php, line 48
Contains \Drupal\Core\Logger\LoggerChannelInterface.

Class

LoggerChannelInterface
Logger channel interface.

Namespace

Drupal\Core\Logger

Code

public function setRequestStack(RequestStack $requestStack = NULL);