mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-06 00:49:47 +00:00
6aca334d53
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
14 lines
328 B
YAML
14 lines
328 B
YAML
_wdt:
|
|
resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
|
|
prefix: /_wdt
|
|
|
|
_profiler:
|
|
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
|
|
prefix: /_profiler
|
|
|
|
_errors:
|
|
resource: '@TwigBundle/Resources/config/routing/errors.xml'
|
|
prefix: /_error
|
|
|
|
_main:
|
|
resource: routing.yml
|