Skip to content


DDC-2770: [GH-833] Generate-Entities-Console-Command: Adding an 'avoid backup' flag #3517

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of ronanguilloux:

Url: #833


Introducing a new "avoid creating backup files" flag in the existing command-line options list:

$ /console orm:generate-entities src/ --nobackup;

Scope: Allowing cli user to avoid the default backup file generation (new ~EntityName.php file every time),
which is default behavior for now.

= adding only 5 lines to lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php.


Comment created by @doctrinebot:

A related Github Pull-Request [GH-833] was closed:


Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.5 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.