We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ff4543 commit e5c9ccaCopy full SHA for e5c9cca
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