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

Services collection: adds a method to get a service by its class name

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3.0-b1
    • 3.3
    • None
    • None

      The phpbb\di\service_collection class is aware of the class of each service. We should add a method to get a service from the collection using its class name

      One limitation: if 2 services are of the asked class, we throw an exception

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

              Created:
              Updated:
              Resolved: