Skip to content

Commit 61bdd26

Browse files
authored
Updating arg: we need to pass the full namespace (with double slashes)
1 parent e8eb547 commit 61bdd26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctrine/reverse_engineering.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ table fields.
5656

5757
.. code-block:: terminal
5858
59-
$ php bin/console doctrine:mapping:import App annotation --path=src/Entity
59+
$ php bin/console doctrine:mapping:import App\\Entity annotation --path=src/Entity
6060
6161
This command line tool asks Doctrine to introspect the database and generate
6262
new PHP classes with annotation metadata into ``src/Entity``. This generates two
@@ -68,7 +68,7 @@ files: ``BlogPost.php`` and ``BlogComment.php``.
6868

6969
.. code-block:: terminal
7070
71-
$ php bin/console doctrine:mapping:import App xml --path=config/doctrine
71+
$ php bin/console doctrine:mapping:import App\\Entity xml --path=config/doctrine
7272
7373
Generating the Getters & Setters or PHP Classes
7474
-----------------------------------------------

0 commit comments

Comments
 (0)