LoggerChannel::setRequestStack

public LoggerChannel::setRequestStack(RequestStack $requestStack = NULL)

Sets the request stack.

Parameters

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

Overrides LoggerChannelInterface::setRequestStack

File

core/lib/Drupal/Core/Logger/LoggerChannel.php, line 145

Class

LoggerChannel
Defines a logger channel that most implementations will use.

Namespace

Drupal\Core\Logger

Code

public function setRequestStack(RequestStack $requestStack = NULL) {
  $this->requestStack = $requestStack;
}
doc_Drupal
2016-10-29 09:25:00
Comments
Leave a Comment

Please login to continue.