From 22e387c6100a8b777aedcaf0f443c8100bf7b95d Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Mon, 21 Jan 2013 20:28:56 +0100 Subject: [PATCH] Update UPGRADE-2.2.md add information about route pattern => path renaming --- UPGRADE-2.2.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UPGRADE-2.2.md b/UPGRADE-2.2.md index 06b5ff5bbb7f2..43d513222c485 100644 --- a/UPGRADE-2.2.md +++ b/UPGRADE-2.2.md @@ -275,6 +275,10 @@ $collection->addPrefix('/prefix', array(...), array(...)); $parentCollection->addCollection($collection); ``` + * What was called `pattern` is now called `path` in the routing configuration. The old key `pattern` + is deprecated and will be removed in Symfony 3.0. + * The `Route::getPattern` and `Route::setPattern` methods have been renamed to `Route::getPath` and + `Route::setPath`. The old methods have been deprecated and will be removed in Symfony 3.0 ### Validator