Skip to content

Commit bafbf93

Browse files
committed
Merge pull request #283 from grunch/master
Corrected doctrine commands in reverse enginereen
2 parents 81a4d7c + 4f0ffa1 commit bafbf93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/doctrine/reverse_engineering.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ schema and build related entity classes by executing the following two commands.
9797

9898
.. code-block:: bash
9999
100-
$ php app/console doctrine:mapping:import AcmeBlog annotation
101-
$ php app/console doctrine:generate:entities AcmeBlog
100+
$ php app/console doctrine:mapping:import AcmeBlogBundle annotation
101+
$ php app/console doctrine:generate:entities AcmeBlogBundle
102102
103103
The first command generates entity classes with an annotations mapping, but
104104
you can of course change the ``annotation`` argument to ``xml`` or ``yml``.
@@ -170,4 +170,4 @@ The last command generated all getters and setters for your two ``BlogPost`` and
170170
``BlogComment`` entity class properties. The generated entities are now ready to be
171171
used. Have fun!
172172

173-
.. _`Doctrine tools documentation`: http://www.doctrine-project.org/docs/orm/2.0/en/reference/tools.html#reverse-engineering
173+
.. _`Doctrine tools documentation`: http://www.doctrine-project.org/docs/orm/2.0/en/reference/tools.html#reverse-engineering

0 commit comments

Comments
 (0)