Skip to content

Commit 25bf17b

Browse files
committed
minor #7488 Added a mention to ChainRouter from Symfony CMF (javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Added a mention to ChainRouter from Symfony CMF This replaces #6020 to complete the mentions to Symfony CMF routers. Commits ------- 63213a7 Added a mention to ChainRouter from Symfony CMF
2 parents a30db21 + 63213a7 commit 25bf17b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

routing/custom_route_loader.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,15 @@ configuration file - you can call the
274274
be anything that would normally be supported by the routing configuration
275275
loader (YAML, XML, PHP, annotation, etc.).
276276

277+
.. note::
278+
279+
For more advanced uses, check out the `ChainRouter`_ provided by the Symfony
280+
CMF project. This router allows applications to use two or more routers
281+
combined, for example to keep using the default Symfony routing system when
282+
writing a custom router.
283+
277284
.. _`FOSRestBundle`: https://github.com/FriendsOfSymfony/FOSRestBundle
278285
.. _`JMSI18nRoutingBundle`: https://github.com/schmittjoh/JMSI18nRoutingBundle
279286
.. _`KnpRadBundle`: https://github.com/KnpLabs/KnpRadBundle
280287
.. _`SonataAdminBundle`: https://github.com/sonata-project/SonataAdminBundle
288+
.. _`ChainRouter`: https://symfony.com/doc/current/cmf/components/routing/chain.html

0 commit comments

Comments
 (0)