Skip to content

Book/Doctrine : Adding a line about the "--no-backup" option ... #2617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 10, 2013

Conversation

gregquat
Copy link
Contributor

@gregquat gregquat commented May 7, 2013

... in the "Generating Getters and Setters" section

... in the "Generating Getters and Setters" section
@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put --no-backup in a literal (double backticks) instead of quotes

weaverryan added a commit that referenced this pull request May 10, 2013
Book/Doctrine : Adding a line about the "--no-backup" option ...
@weaverryan weaverryan merged commit b5e26a6 into symfony:2.1 May 10, 2013
@weaverryan
Copy link
Member

Hey Greg!

I agree - this is a nice note to add!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants