8000 feature #43236 [Security] Add alias for FirewallMapInterface to `@sec… · symfony/symfony@6e4bbd3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e4bbd3

Browse files
committed
feature #43236 [Security] Add alias for FirewallMapInterface to @security.firewall.map (lyrixx)
This PR was merged into the 5.4 branch. Discussion ---------- [Security] Add alias for FirewallMapInterface to `@security`.firewall.map | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | | License | MIT | Doc PR | refs: https://symfony.com/blog/new-in-symfony-3-2-firewall-config-class-and-profiler Commits ------- 5a96958 [Security] Add alias for FirewallMapInterface to `@security`.firewall.map
2 parents 498284e + 5a96958 commit 6e4bbd3

File tree

1 file changed

+2
-0
lines changed
  • src/Symfony/Bundle/SecurityBundle/Resources/config

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/SecurityBundle/Resources/config/security.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
4949
use Symfony\Component\Security\Http\Controller\UserValueResolver;
5050
use Symfony\Component\Security\Http\Firewall;
51+
use Symfony\Component\Security\Http\FirewallMapInterface;
5152
use Symfony\Component\Security\Http\HttpUtils;
5253
use Symfony\Component\Security\Http\Impersonate\ImpersonateUrlGenerator;
5354
use Symfony\Component\Security\Http\Logout\LogoutUrlGenerator;
@@ -188,6 +189,7 @@
188189
abstract_arg('Firewall context locator'),
189190
abstract_arg('Request matchers'),
190191
])
192+
->alias(FirewallMapInterface::class, 'security.firewall.map')
191193

192194
->set('security.firewall.context', FirewallContext::class)
193195
->abstract()

0 commit comments

Comments
 (0)
0