From e74a92ba205d189a3bfe2511fb3c9f0385b82482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Miko=C5=82ajczuk?= Date: Fri, 7 Oct 2016 16:45:08 +0100 Subject: [PATCH 1/4] Add documentation for route_class parameter --- bundles/routing/configuration.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundles/routing/configuration.rst b/bundles/routing/configuration.rst index 956d20d3..0748f4e8 100644 --- a/bundles/routing/configuration.rst +++ b/bundles/routing/configuration.rst @@ -469,6 +469,13 @@ If ``true``, the ORM is included in the service container. The name of the Doctrine Manager to use. +``route_class`` +**************** + +**type**: ``string`` **default**: ``'Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Orm\Route'`` + +Class used by bundle to work with roues. + ``uri_filter_regexp`` ~~~~~~~~~~~~~~~~~~~~~ From 092ec9cd27291326a6f8e780e3fe599e153abb50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Miko=C5=82ajczuk?= Date: Fri, 7 Oct 2016 16:46:35 +0100 Subject: [PATCH 2/4] fix typo --- bundles/routing/configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/routing/configuration.rst b/bundles/routing/configuration.rst index 0748f4e8..96fdea31 100644 --- a/bundles/routing/configuration.rst +++ b/bundles/routing/configuration.rst @@ -474,7 +474,7 @@ The name of the Doctrine Manager to use. **type**: ``string`` **default**: ``'Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Orm\Route'`` -Class used by bundle to work with roues. +Class used by bundle to work with routes. ``uri_filter_regexp`` ~~~~~~~~~~~~~~~~~~~~~ From baa87968bb656fec5f1c74c31697189f750d0cc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Miko=C5=82ajczuk?= Date: Mon, 10 Oct 2016 08:38:16 +0100 Subject: [PATCH 3/4] Improve new parameter description --- bundles/routing/configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/routing/configuration.rst b/bundles/routing/configuration.rst index 96fdea31..fa8423c6 100644 --- a/bundles/routing/configuration.rst +++ b/bundles/routing/configuration.rst @@ -474,7 +474,7 @@ The name of the Doctrine Manager to use. **type**: ``string`` **default**: ``'Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Orm\Route'`` -Class used by bundle to work with routes. +The route class to use in your application. ``uri_filter_regexp`` ~~~~~~~~~~~~~~~~~~~~~ From fd627994f73e17b8f7bf9a0a1a5c53389e0b2b12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Miko=C5=82ajczuk?= Date: Mon, 10 Oct 2016 09:33:37 +0100 Subject: [PATCH 4/4] Add versionadded notice --- bundles/routing/configuration.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundles/routing/configuration.rst b/bundles/routing/configuration.rst index fa8423c6..b0f39e9b 100644 --- a/bundles/routing/configuration.rst +++ b/bundles/routing/configuration.rst @@ -476,6 +476,9 @@ The name of the Doctrine Manager to use. The route class to use in your application. +versionadded:: 2.0 + The ``route_class`` parameter has been added in version 2.0. + ``uri_filter_regexp`` ~~~~~~~~~~~~~~~~~~~~~