]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/packages/rapsysair.yaml
Append dances and subscriptions to findAllIndexed results
[airbundle] / Resources / config / packages / rapsysair.yaml
index ee6ce479de2250e1f50b7027d458f050a4bdacff..02197a85ce237bb02a75a35576588eabe7736b31 100644 (file)
@@ -127,6 +127,11 @@ doctrine:
 
     # Orm configuration
     orm:
+        # Controller resolver
+        controller_resolver:
+            # Disable auto mapping
+            auto_mapping: false
+
         # Replace repository factory
         repository_factory: 'Rapsys\AirBundle\Factory'
 
@@ -137,6 +142,7 @@ doctrine:
             Rapsys\UserBundle\Entity\Civility: 'Rapsys\AirBundle\Entity\Civility'
             Rapsys\UserBundle\Entity\User: 'Rapsys\AirBundle\Entity\User'
 
+        # Force mappings
         mappings:
             # Map entities
             # XXX: Entity short syntax was removed
@@ -343,7 +349,7 @@ services:
         tags: [ 'form.type' ]
     # Register register form
     Rapsys\AirBundle\Form\RegisterType:
-        arguments: [ '@doctrine.orm.entity_manager' ]
+        arguments: [ '@doctrine.orm.entity_manager', '@rapsyspack.image_util', '@rapsyspack.slugger_util', '@translator' ]
         tags: [ 'form.type' ]
     # Register attribute command
     Rapsys\AirBundle\Command\AttributeCommand: