nextcloud/lib/private/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
DependencyInjection Move the notmodified check to middleware where it belongs 2020-05-13 08:11:24 +02:00
Http Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating 2020-07-02 11:13:13 +02:00
Middleware Allow TemplateResponse to be compressed 2020-05-15 08:38:39 +02:00
OCS Update license headers for 19 2020-04-29 11:57:22 +02:00
Routing Update license headers for 19 2020-04-29 11:57:22 +02:00
Services Fix return code of AppConfig::deleteUserValue 2020-05-13 14:55:00 +02:00
Utility Make annotations case insensitive 2020-06-23 20:18:23 +02:00
App.php Allow to specify the cookie type for appframework responses 2020-06-22 08:38:44 +02:00
Http.php Move the notmodified check to middleware where it belongs 2020-05-13 08:11:24 +02:00
Logger.php Update license headers 2019-12-05 15:38:45 +01:00