Skip to content

Commit 085f2d3

Browse files
committed
Added double quotes in the mapping command arguments
1 parent fb7ea95 commit 085f2d3

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\Entity 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\Entity' xml --path=config/doctrine
71+
$ php bin/console doctrine:mapping:import "App\Entity" xml --path=config/doctrine
7272
7373
In this case, make sure to adapt your mapping configuration accordingly:
7474

0 commit comments

Comments
 (0)