yiisoft/injector

Make `Injector::resolveDependencies()` public

Open

#113 opened on Dec 30, 2025

View on GitHub
 (6 comments) (2 reactions) (0 assignees)PHP (17 forks)auto 404
good first issuetype:feature

Repository metrics

Stars
 (94 stars)
PR merge metrics
 (PR metrics pending)

Description

Proposed new feature or change

Sometimes, when using Injector, I find that I just need to resolve a list of arguments.
And (what a coincidence!) I already have a reflection object at hand.
I suggest making this method public. By the way, Spiral also has a separate service for resolving arguments without calling the method.

Contributor guide