-
Once the metadata files are generated, you can ask Doctrine to build related
entity classes by executing the following two commands.
@@ -103,14 +96,14 @@ entity classes by executing the following two commands.
$ php app/console doctrine:mapping:convert annotation ./src
$ php app/console doctrine:generate:entities AcmeBlogBundle
-The first command generates entity classes with an annotations mapping. But
+The first command generates entity classes with annotation mappings. But
if you want to use yml or xml mapping instead of annotations, you should
execute the second command only.
.. tip::
- If you want to use annotations, you can safely delete the XML files after
- running these two commands.
+ If you want to use annotations, you can safely delete the XML (or YAML) files
+ after running these two commands.
For example, the newly created ``BlogComment`` entity class looks as follow::
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy