nextcloud/lib/public/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
Db Update license headers for 19 2020-04-29 11:57:22 +02:00
Http Fix robots "noindex, nofollow" signals 2020-06-25 08:29:43 +02:00
OCS Update license headers for 19 2020-04-29 11:57:22 +02:00
Services Fix OCPSinceChecker and php-cs 2020-05-08 11:20:46 +02:00
Utility Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ApiController.php Update license headers for 19 2020-04-29 11:57:22 +02:00
App.php PHP 7.4 excludes the arguments from stack traces by default. 2020-04-30 17:00:56 +02:00
AuthPublicShareController.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Controller.php Copy over the ETag and LastModified when formatting a Dataresponse 2020-05-19 09:39:51 +02:00
Http.php Update license headers for 19 2020-04-29 11:57:22 +02:00
IAppContainer.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Middleware.php Update license headers for 19 2020-04-29 11:57:22 +02:00
OCSController.php Update license headers for 19 2020-04-29 11:57:22 +02:00
PublicShareController.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
QueryException.php Update license headers for 19 2020-04-29 11:57:22 +02:00