nextcloud-server/tests/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
..
AppPasswordControllerTest.php
AutoCompleteControllerTest.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
AvatarControllerTest.php fix Controller tests 2022-07-22 22:15:41 +02:00
ChangePasswordControllerTest.php Do not dispatch postSetPassword when setPassword fails 2022-05-05 17:21:23 +02:00
ClientFlowLoginControllerTest.php Extend tests 2022-05-16 10:33:30 +02:00
ClientFlowLoginV2ControllerTest.php Extend tests 2022-05-16 10:33:30 +02:00
ContactsMenuControllerTest.php Modernize contacts menu 2022-05-12 18:31:59 +02:00
CSRFTokenControllerTest.php
CssControllerTest.php
GuestAvatarControllerTest.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
JsControllerTest.php
LoginControllerTest.php feat(app framework)!: Inject services into controller methods 2023-01-18 14:00:38 +01:00
LostControllerTest.php Fix LostController test 2022-10-18 14:49:02 +00:00
NavigationControllerTest.php
OCSControllerTest.php
PreviewControllerTest.php Check share attributes on preview endpoints 2022-10-25 11:35:31 +02:00
TwoFactorChallengeControllerTest.php Update core to PHP 7.4 standard 2022-05-20 22:18:06 +02:00
UserControllerTest.php
WellKnownControllerTest.php
WipeControllerTest.php