From: Raphaƫl Gertz Date: Tue, 8 Dec 2020 00:38:07 +0000 (+0100) Subject: Add AttributeCommand and WeatherCommand services X-Git-Tag: 0.1.5~6 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/b0a571b74a16625aada7c8e8b4289e5bf11c982c?ds=sidebyside Add AttributeCommand and WeatherCommand services Add rapsys_user.default.group and rapsys_user.default.title config keys --- 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: