nextcloud/core/Controller
Christoph Wurst 20fcfb5739
feat(app framework)!: Inject services into controller methods
Usually Nextcloud DI goes through constructor injection. This has the
implication that each instance of a class builds the full DI tree. That
is the injected services, their services, etc. Occasionally there is a
service that is only needed for one controller method. Then the DI tree
is build regardless if used or not.

If services are injected into the method, we only build the DI tree if
that method gets executed.

This is also how Laravel allows injection.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-18 14:00:38 +01:00
..
AppPasswordController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
AutoCompleteController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
AvatarController.php Update avatars on update 2022-09-09 14:23:41 +02:00
ClientFlowLoginController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ClientFlowLoginV2Controller.php Fix GH-33187 2022-12-12 19:12:18 +00:00
CollaborationResourcesController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ContactsMenuController.php Modernize contacts menu 2022-05-12 18:31:59 +02:00
CSRFTokenController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
CssController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ErrorController.php Use proper error pages instead of always redirecting 2022-10-21 15:12:21 +02:00
GuestAvatarController.php Update avatars on update 2022-09-09 14:23:41 +02:00
HoverCardController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
JsController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
LoginController.php feat(app framework)!: Inject services into controller methods 2023-01-18 14:00:38 +01:00
LostController.php Add a const for the max user password length 2023-01-04 11:23:43 +01:00
NavigationController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
OCJSController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
OCSController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
PreviewController.php Fix type of PreviewController::$userId 2022-11-24 02:33:31 -08:00
ProfileApiController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ProfilePageController.php Add api to load additional section in profile page 2022-09-14 12:55:40 +02:00
RecommendedAppsController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
ReferenceApiController.php Fix URLs on reference resolving 2022-09-30 09:40:43 +02:00
ReferenceController.php fix reference preview endpoint when no server-side cache configured 2022-10-13 15:18:21 +02:00
SearchController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
SetupController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
TwoFactorChallengeController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
UnifiedSearchController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
UnsupportedBrowserController.php Cleanup ie and old edge properties 2022-10-19 10:02:51 +02:00
UserController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
WalledGardenController.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
WebAuthnController.php Fix default redirect on successful WebAuthn login 2022-12-05 12:51:53 +01:00
WellKnownController.php Update php licenses 2021-06-04 22:02:41 +02:00
WhatsNewController.php Use product name in places where it is appropriate rather than the instance name 2021-06-16 11:42:53 +02:00
WipeController.php Update php licenses 2021-06-04 22:02:41 +02:00