]> Raphaël G. Git Repositories - airbundle/commitdiff
Add AttributeCommand and WeatherCommand services
authorRaphaël Gertz <git@rapsys.eu>
Tue, 8 Dec 2020 00:38:07 +0000 (01:38 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 8 Dec 2020 00:38:07 +0000 (01:38 +0100)
Add rapsys_user.default.group and rapsys_user.default.title config keys

Resources/config/packages/rapsys_air.yaml

index 93f6b474362c7beda02b13d1eb0b0a2457587389..13025637cab18d8ed95e8071d017f8788abc5e6c 100644 (file)
@@ -16,6 +16,10 @@ rapsys_user:
         group: 'Rapsys\AirBundle\Entity\Group'
         title: 'Rapsys\AirBundle\Entity\Title'
         user: 'Rapsys\AirBundle\Entity\User'
         group: 'Rapsys\AirBundle\Entity\Group'
         title: 'Rapsys\AirBundle\Entity\Title'
         user: 'Rapsys\AirBundle\Entity\User'
+    #Default replacement
+    default:
+        group: [ 'User' ]
+        title: 'Mister'
     #Route replacement
     route:
         index:
     #Route replacement
     route:
         index:
@@ -267,6 +271,12 @@ services:
     Rapsys\AirBundle\Form\ApplicationType:
         arguments: [ '@doctrine', '@translator' ]
         tags: [ 'form.type' ]
     Rapsys\AirBundle\Form\ApplicationType:
         arguments: [ '@doctrine', '@translator' ]
         tags: [ 'form.type' ]
+    Rapsys\AirBundle\Command\AttributeCommand:
+        arguments: [ '@doctrine' ]
+        tags: [ 'console.command' ]
+    Rapsys\AirBundle\Command\WeatherCommand:
+        arguments: [ '@doctrine' ]
+        tags: [ 'console.command' ]
 
 #Twig Configuration
 twig:
 
 #Twig Configuration
 twig: