]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/packages/rapsys_air.yaml
Add session edit form template
[airbundle] / Resources / config / packages / rapsys_air.yaml
index 93f6b474362c7beda02b13d1eb0b0a2457587389..49658f5bba724af58a544d5cd28bb136350e84de 100644 (file)
@@ -16,6 +16,10 @@ rapsys_user:
         group: 'Rapsys\AirBundle\Entity\Group'
         title: 'Rapsys\AirBundle\Entity\Title'
         user: 'Rapsys\AirBundle\Entity\User'
+    #Default replacement
+    default:
+        group: [ 'Senior' ]
+        title: 'Mister'
     #Route replacement
     route:
         index:
@@ -267,6 +271,15 @@ services:
     Rapsys\AirBundle\Form\ApplicationType:
         arguments: [ '@doctrine', '@translator' ]
         tags: [ 'form.type' ]
+    Rapsys\AirBundle\Form\SessionEditType:
+        arguments: [ '@doctrine' ]
+        tags: [ 'form.type' ]
+    Rapsys\AirBundle\Command\AttributeCommand:
+        arguments: [ '@doctrine' ]
+        tags: [ 'console.command' ]
+    Rapsys\AirBundle\Command\WeatherCommand:
+        arguments: [ '@doctrine' ]
+        tags: [ 'console.command' ]
 
 #Twig Configuration
 twig: