question: Inject in code
### Is your feature request related to a problem? Please describe.

I have a question about the `di` Injector:

I have a **static** method (after destroy hook of a sequelize model) where i want to execute a function from a provided service. Is there a way to inject a service in code directly, similar to `PlatformTest.get(...)` in test environment?

I found the `GlobalProviders` in code, but i'm unsure if this is
1. Safe to use
2. and more important: the preferred way

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

### Acceptance criteria

_No response_