-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
DependencyInjectionFeatureHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.Stalled
Description
Description
When debugging the container and showing a service with it's arguments (debug:container SomeService --show-arguments
), it shows resolved services in arguments. But usually what I need to debug is not what service it injects, but why. And the answer is usually "there is an alias" that autowiring used to resolve this.
The command could show the whole resolve chain. Instead of Service(core.ticketsEvents)
it could show Alias(Service_Tickets, Service(core.ticketsEvents))
for following service definition:
Service_Tickets:
alias: core.ticketsEvents
And following service:
class SomeService {
__construct(Service_Tickets $tickets) {
}
}
Metadata
Metadata
Assignees
Labels
DependencyInjectionFeatureHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.Stalled