Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2770

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

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

      Url: https://github.com/doctrine/doctrine2/pull/833

      Message:

      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.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-833] was closed:
        https://github.com/doctrine/doctrine2/pull/833

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-833] was closed: https://github.com/doctrine/doctrine2/pull/833

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: