Skip to content
Snippets Groups Projects
Unverified Commit 4a3ea04b authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Callable parameter injection


This is like what we have to DI and classes, but for callables.

The motivating factor is to get rid of *service locators* in the `boot`
method of apps as a new pattern is about to emerge where we have lots of
`query` calls on the app or server container in order to fetch some
services.

With this little helper it's possible to call another (public) method
and magically have everything injected.

Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent 0825530a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment