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 1208aba commit 5a94330Copy full SHA for 5a94330
session.rst
@@ -150,7 +150,7 @@ if you type-hint an argument with :class:`Symfony\\Component\\HttpFoundation\\Re
150
{
151
$this->requestStack = $requestStack;
152
153
- // This does *not* work, since you cannot access the session inside a constructor
+ // Accessing the session in the constructor is *not* reommended, since it might lead to unwanted side-effects
154
// $this->session = $requestStack->getSession();
155
}
156
0 commit comments