Closed (fixed)
Project:
Mailer Plus (DSM+)
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2023 at 09:28 UTC
Updated:
3 Feb 2025 at 14:44 UTC
Jump to comment: Most recent
Coming out of #3384835: Policy for semantic versioning
#3 is a bit of a radical idea, however it could be something like this:
$service_ids array of strings.create() gets these services from the container, creates the object, then calls protected function inject() passing array of services keyed by id. In case of derived classes, combine the arrays from all levels of the class hierarchy.inject() default implementation saves to protected variable $services.service($id) gets the service - just like the Drupal::service() function however with DI.Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
adamps commentedComment #3
adamps commentedComment #4
adamps commentedComment #6
adamps commentedComment #8
adamps commented