Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb5e26a6

Browse files
committed
Merge pull requestsymfony#2617 from gregquat/patch-10
Book/Doctrine : Adding a line about the "--no-backup" option ...
2 parents9d84809 +ca80b1a commitb5e26a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎book/doctrine.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,8 @@ doesn't replace your existing methods).
401401
The ``doctrine:generate:entities`` command saves a backup of the original
402402
``Product.php`` named ``Product.php~``. In some cases, the presence of
403403
this file can cause a "Cannot redeclare class" error. It can be safely
404-
removed.
404+
removed. You can also use the ``--no-backup`` option to prevent generating
405+
these backup files.
405406

406407
Note that you don't *need* to use this command. Doctrine doesn't rely
407408
on code generation. Like with normal PHP classes, you just need to make

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp