diff --git a/cookbook/doctrine/reverse_engineering.rst b/cookbook/doctrine/reverse_engineering.rst index 995ad11b026..7f7ecff0659 100644 --- a/cookbook/doctrine/reverse_engineering.rst +++ b/cookbook/doctrine/reverse_engineering.rst @@ -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 - `_. + after running these two commands. This is necessary as + :ref:`it is not possible to mix mapping configuration formats ` For example, the newly created ``BlogComment`` entity class looks as follow::