We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecd3048 commit 15465dfCopy full SHA for 15465df
logging/processors.rst
@@ -25,11 +25,9 @@ using a processor::
25
26
class SessionRequestProcessor
27
{
28
- private $requestStack;
29
-
30
- public function __construct(RequestStack $requestStack)
31
- {
32
- $this->requestStack = $requestStack;
+ public function __construct(
+ private RequestStack $requestStack
+ ) {
33
}
34
35
// this method is called for each log record; optimize it to not hurt performance
0 commit comments