From 7780725213be4c9a577e4808eb34f03ad69c05c2 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Rapha=C3=ABl=20Gertz?= <git@rapsys.eu>
Date: Tue, 8 Dec 2020 01:38:07 +0100
Subject: [PATCH] Add AttributeCommand and WeatherCommand services Add
 rapsys_user.default.group and rapsys_user.default.title config keys

---
 Resources/config/packages/rapsys_air.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Resources/config/packages/rapsys_air.yaml b/Resources/config/packages/rapsys_air.yaml
index 93f6b47..1302563 100644
--- a/Resources/config/packages/rapsys_air.yaml
+++ b/Resources/config/packages/rapsys_air.yaml
@@ -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: [ 'User' ]
+        title: 'Mister'
     #Route replacement
     route:
         index:
@@ -267,6 +271,12 @@ services:
     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:
-- 
2.41.1