Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[Security] Using of TargetPathTrait in a Controller #27835
The case it would be useful:
It does not need to be public for being injected in your controller actions.
services: # ... Symfony\Bundle\SecurityBundle\Security\FirewallMap: '@security.firewall.map'
I don't think we should do it in the core, first because it's not common enough, and because it's not an interface (