Skip to content

Commit 84f19c0

Browse files
committed
minor symfony#24592 Add extra autowiring aliases (stof)
This PR was merged into the 3.4 branch. Discussion ---------- Add extra autowiring aliases | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | not really | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a This adds autowiring for RequestContextAwareInterface for the routing layer and for AuthenticationManagerInterface in the security layer. Commits ------- 921a879 Add extra autowiring aliases
2 parents 1f4025a + 921a879 commit 84f19c0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/routing.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
<service id="Symfony\Component\Routing\RouterInterface" alias="router" />
8686
<service id="Symfony\Component\Routing\Generator\UrlGeneratorInterface" alias="router" />
8787
<service id="Symfony\Component\Routing\Matcher\UrlMatcherInterface" alias="router" />
88+
<service id="Symfony\Component\Routing\RequestContextAwareInterface" alias="router" />
8889

8990
<service id="router.request_context" class="Symfony\Component\Routing\RequestContext">
9091
<argument>%router.request_context.base_url%</argument>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
<argument type="service" id="event_dispatcher" />
5353
</call>
5454
</service>
55+
<service id="Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface" alias="security.authentication.manager" />
5556

5657
<service id="security.authentication.trust_resolver" class="Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver">
5758
<argument>%security.authentication.trust_resolver.anonymous_class%</argument>

0 commit comments

Comments
 (0)