You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #11993 When overriding session service definition, make it public (pbowyer)
This PR was merged into the 4.2 branch.
Discussion
----------
When overriding `session` service definition, make it public
`Symfony\Bundle\FrameworkBundle\Controller\ControllerTrait::addFlash()` relies on getting the `session` service from the service container.
Since 3.4 services defined in `services.yaml` are private by default. When overriding the `session` service definition, it has to be explicitly marked as public.
The 4.2 documentation branch was the earliest I found containing this example service definition.
Commits
-------
315103f When overriding `session` service definition, make it public
0 commit comments