Add extra autowiring aliases
This adds autowiring for RequestContextAwareInterface for the routing layer and for AuthenticationManagerInterface in the security layer.
This commit is contained in:
parent
1f4025a0ae
commit
921a8794c6
@ -85,6 +85,7 @@
|
||||
<service id="Symfony\Component\Routing\RouterInterface" alias="router" />
|
||||
<service id="Symfony\Component\Routing\Generator\UrlGeneratorInterface" alias="router" />
|
||||
<service id="Symfony\Component\Routing\Matcher\UrlMatcherInterface" alias="router" />
|
||||
<service id="Symfony\Component\Routing\RequestContextAwareInterface" alias="router" />
|
||||
|
||||
<service id="router.request_context" class="Symfony\Component\Routing\RequestContext">
|
||||
<argument>%router.request_context.base_url%</argument>
|
||||
|
@ -52,6 +52,7 @@
|
||||
<argument type="service" id="event_dispatcher" />
|
||||
</call>
|
||||
</service>
|
||||
<service id="Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface" alias="security.authentication.manager" />
|
||||
|
||||
<service id="security.authentication.trust_resolver" class="Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver">
|
||||
<argument>%security.authentication.trust_resolver.anonymous_class%</argument>
|
||||
|
Reference in New Issue
Block a user