Skip to content

Commit

Permalink
Updated per xabbuh's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pbowyer authored and weaverryan committed Feb 21, 2016
1 parent 6a526bf commit 06de6c0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cookbook/doctrine/reverse_engineering.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ execute the second command only.
.. tip::

If you want to use annotations, you must remove the XML (or YAML) files
after running these two commands. It is `not possible to mix XML/YAML metadata
definitions with annotated PHP entity class definitions
<http://symfony.com/doc/current/book/doctrine.html#add-mapping-information>`_.
after running these two commands. This is necessary as
:ref:`it is not possible to mix mapping configuration formats <book-doctrine-adding-mapping>`

For example, the newly created ``BlogComment`` entity class looks as follow::

Expand Down

0 comments on commit 06de6c0

Please sign in to comment.