public function AbstractRequestProcessor::__construct in Monolog 2.x
Same name and namespace in other branches
- 8 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\ProcessorCode
public function __construct(RequestStack $requestStack) {
$this->requestStack = $requestStack;
}