You are here

public function AbstractRequestProcessor::__construct in Monolog 8

Same name and namespace in other branches
  1. 2.x src/Logger/Processor/AbstractRequestProcessor.php \Drupal\monolog\Logger\Processor\AbstractRequestProcessor::__construct()

RequestProcessor constructor.

Parameters

\Symfony\Component\HttpFoundation\RequestStack:

File

src/Logger/Processor/AbstractRequestProcessor.php, line 22

Class

AbstractRequestProcessor
Base class for all processors that needs access to request data.

Namespace

Drupal\monolog\Logger\Processor

Code

public function __construct(RequestStack $requestStack) {
  $this->requestStack = $requestStack;
}