Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13489

Allow the migrations to use the DI container

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.3-RC1
    • Component/s: None
    • Labels:
      None

      Description

      The migrator should support a "container aware" interface. So if a migration implements this interface the migrator will inject the container.

      By the way, we should disable the event dispatcher in the migrator (a migration shouldn't dispatch any event).

        Attachments

          Activity

            People

            Assignee:
            nicofuma nicofuma
            Reporter:
            nicofuma nicofuma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: