Skip to content

Commit b9e533d

Browse files
authored
Add service alias for the interface
Alias `Symfony\Cmf\Component\Routing\ChainRouterInterface` to `cmf_routing.router` to allow autowiring in strict mode
1 parent 8f629c2 commit b9e533d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Resources/config/routing-chain.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
<argument type="service" id="router.request_context" />
1212
</call>
1313
</service>
14+
<service id="Symfony\Cmf\Component\Routing\ChainRouterInterface" alias='cmf_routing.router'/>
1415
</services>
1516
</container>

0 commit comments

Comments
 (0)