Jelajahi Sumber

added information about new logical names (previous commit)

Fabien Potencier 14 tahun lalu
induk
melakukan
59eebee7e6
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  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)`