wallabag/src/Wallabag/ApiBundle/Controller
Jeremy Benoist 6aca334d53
Move to controller as a service
Mostly using autowiring to inject deps.
The only tricky part was for import because all producer use the same class and have a different alias. So we must write them down in the service definition, autowiring doesn't work in that case.

Usually:
- if a controller has a constructor, it means injected services are at least re-used once in actions
- otherwise, service are injected per action
2022-12-19 10:38:08 +01:00
..
AnnotationRestController.php Re-create all API routes 2022-11-23 12:44:55 +01:00
ConfigRestController.php Move to controller as a service 2022-12-19 10:38:08 +01:00
DeveloperController.php Move to controller as a service 2022-12-19 10:38:08 +01:00
EntryRestController.php Move to controller as a service 2022-12-19 10:38:08 +01:00
SearchRestController.php Move to controller as a service 2022-12-19 10:38:08 +01:00
TaggingRuleRestController.php Re-create all API routes 2022-11-23 12:44:55 +01:00
TagRestController.php Move to controller as a service 2022-12-19 10:38:08 +01:00
UserRestController.php Move to controller as a service 2022-12-19 10:38:08 +01:00
WallabagRestController.php Move to controller as a service 2022-12-19 10:38:08 +01:00