From 63213a786621e5f74e5b23eeaf0123243c4e98c9 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 14 Feb 2017 15:25:53 +0100 Subject: [PATCH] Added a mention to ChainRouter from Symfony CMF --- routing/custom_route_loader.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/routing/custom_route_loader.rst b/routing/custom_route_loader.rst index 773efc1f2c1..9184d65cf13 100644 --- a/routing/custom_route_loader.rst +++ b/routing/custom_route_loader.rst @@ -274,7 +274,15 @@ configuration file - you can call the be anything that would normally be supported by the routing configuration loader (YAML, XML, PHP, annotation, etc.). +.. note:: + + For more advanced uses, check out the `ChainRouter`_ provided by the Symfony + CMF project. This router allows applications to use two or more routers + combined, for example to keep using the default Symfony routing system when + writing a custom router. + .. _`FOSRestBundle`: https://github.com/FriendsOfSymfony/FOSRestBundle .. _`JMSI18nRoutingBundle`: https://github.com/schmittjoh/JMSI18nRoutingBundle .. _`KnpRadBundle`: https://github.com/KnpLabs/KnpRadBundle .. _`SonataAdminBundle`: https://github.com/sonata-project/SonataAdminBundle +.. _`ChainRouter`: https://symfony.com/doc/current/cmf/components/routing/chain.html