Skip to content

Commit 5f8f939

Browse files
committed
[Security] Add alias for FirewallMapInterface to @security.firewall.map
1 parent 594ed0f commit 5f8f939

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)