Browse code

Enable autowiring and annotation support

Benjamin Roth authored on12/01/2023 14:37:47
Showing1 changed files
... ...
@@ -1,7 +1,10 @@
1 1
 services:
2 2
     _defaults:
3
+        autowire: true
3 4
         autoconfigure: true
5
+        public: false
4 6
 
5
-    vonRotenberg\ModalBundle\Controller\FrontendModule\ModalModuleController: ~
7
+    vonRotenberg\ModalBundle\:
8
+        resource: ../src
9
+        exclude: ../src/{VonrotenbergModalBundle.php,ContaoManager,Entity,Migrations,Model,Resources,Tests,Widget}
6 10
 
7
-    vonRotenberg\ModalBundle\Controller\ContentElement\ModalElementController: ~