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

Commite5c9cca

Browse files
committed
Book/Doctrine : Adding a line about the "--no-backup" option ...
... in the "Generating Getters and Setters" section
1 parent8ff4543 commite5c9cca

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