We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d84809 + ca80b1a commit b5e26a6Copy full SHA for b5e26a6
book/doctrine.rst
@@ -401,7 +401,8 @@ doesn't replace your existing methods).
401
The ``doctrine:generate:entities`` command saves a backup of the original
402
``Product.php`` named ``Product.php~``. In some cases, the presence of
403
this file can cause a "Cannot redeclare class" error. It can be safely
404
- removed.
+ removed. You can also use the ``--no-backup`` option to prevent generating
405
+ these backup files.
406
407
Note that you don't *need* to use this command. Doctrine doesn't rely
408
on code generation. Like with normal PHP classes, you just need to make
0 commit comments