nextcloud/tests/lib/AppFramework
Christoph Wurst 4a3ea04baa
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: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-03 14:37:46 +02:00
..
Bootstrap Callable parameter injection 2020-07-03 14:37:46 +02:00
Controller Fix robots "noindex, nofollow" signals 2020-06-25 08:29:43 +02:00
Db Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DependencyInjection Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Http Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating 2020-07-02 11:13:13 +02:00
Middleware Move the notmodified check to middleware where it belongs 2020-05-13 08:11:24 +02:00
OCS Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Routing Fix new routing in settings etc 2020-04-22 13:09:25 +02:00
Utility Callable parameter injection 2020-07-03 14:37:46 +02:00
AppTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00