Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11857

Avatar manager must not depend on entire container

XMLWordPrintable

      Passing the container as an argument to a service defeats the purpose of dependency injection. Instead it should use a service collection to use tagged services to retrieve a set of drivers, and then pass this array into the manager. Look at cron for how this is implemented correctly.

            bantu Andreas Fischer [X] (Inactive)
            naderman Nils Adermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: