From e5c9ccadef5df5b381a618e29710a5a57a167d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Quatannens?= Date: Tue, 7 May 2013 13:55:27 +0300 Subject: [PATCH 1/2] Book/Doctrine : Adding a line about the "--no-backup" option ... ... in the "Generating Getters and Setters" section --- book/doctrine.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/book/doctrine.rst b/book/doctrine.rst index dc99a0b24a1..be5f20a70ab 100644 --- a/book/doctrine.rst +++ b/book/doctrine.rst @@ -401,7 +401,8 @@ doesn't replace your existing methods). The ``doctrine:generate:entities`` command saves a backup of the original ``Product.php`` named ``Product.php~``. In some cases, the presence of this file can cause a "Cannot redeclare class" error. It can be safely - removed. + removed. You can also use the "--no-backup" option to prevent generating + these backup files. Note that you don't *need* to use this command. Doctrine doesn't rely on code generation. Like with normal PHP classes, you just need to make From ca80b1a8b4b265952a3ee9e7d7aa2aea032e9329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Quatannens?= Date: Tue, 7 May 2013 15:47:50 +0300 Subject: [PATCH 2/2] Changing quote to (double backticks) --- book/doctrine.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/doctrine.rst b/book/doctrine.rst index be5f20a70ab..a786c2c931e 100644 --- a/book/doctrine.rst +++ b/book/doctrine.rst @@ -401,7 +401,7 @@ doesn't replace your existing methods). The ``doctrine:generate:entities`` command saves a backup of the original ``Product.php`` named ``Product.php~``. In some cases, the presence of this file can cause a "Cannot redeclare class" error. It can be safely - removed. You can also use the "--no-backup" option to prevent generating + removed. You can also use the ``--no-backup`` option to prevent generating these backup files. Note that you don't *need* to use this command. Doctrine doesn't rely