Преглед на файлове

added information about new logical names (previous commit)

Fabien Potencier преди 14 години
родител
ревизия
59eebee7e6
променени са 1 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 7 0
      UPDATE.md

+ 7 - 0
UPDATE.md

@@ -51,3 +51,10 @@ PR8 to PR9
 
     Moreover, the `Assert` prefix used for some constraints has been removed
     (`AssertTrue` to `True`).
+
+* Bundle logical names lose their `Bundle` suffix:
+
+    *Controllers*: `BlogBundle:Post:show` -> `Blog:Post:show`
+    *Templates*:   `BlogBundle:Post:show.html.twig` -> `Blog:Post:show.html.twig`
+    *Resources*:   `@BlogBundle/Resources/config/blog.xml` -> `@Blog/Resources/config/blog.xml`
+    *Doctrine*:    `$em->find('BlogBundle:Post', $id)` -> `$em->find('Blog:Post', $id)`