summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole3/backend/config/services.yaml
diff options
context:
space:
mode:
authordevega <miguel.vega@sic.uhu.es>2020-03-24 12:36:46 +0100
committerdevega <miguel.vega@sic.uhu.es>2020-03-24 12:36:46 +0100
commit7a51e7aeffd72798fcd8cfaa1f27535b5e959b07 (patch)
treedd19baeca029deaaa6b356bb4884bf9d93728250 /admin/WebConsole3/backend/config/services.yaml
parentaafce73629d6b5f5d0a055e109d6112a4bccbb14 (diff)
Updated Symfony 3.x to 4.xwebconsole3
- Reorganizado los Repositorios de Symfony - Registrado los commandos como Servicio - Actualizado la configuraiĆ³n de Doctrine - Modificado el fichero update e installer.
Diffstat (limited to 'admin/WebConsole3/backend/config/services.yaml')
-rw-r--r--admin/WebConsole3/backend/config/services.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/WebConsole3/backend/config/services.yaml b/admin/WebConsole3/backend/config/services.yaml
index a8b4d299..16c22923 100644
--- a/admin/WebConsole3/backend/config/services.yaml
+++ b/admin/WebConsole3/backend/config/services.yaml
@@ -33,3 +33,12 @@ services:
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
+
+ # COMMAND
+ Opengnsys\CoreBundle\Command\CreateClientCommand:
+ arguments: ['@fos_oauth_server.client_manager.default']
+ tags: [{name: console.command, command: opengnsys:oauth-server:client:create}]
+
+ Opengnsys\MigrationBundle\Command\MigrateCommand:
+ arguments: ['@doctrine.orm.default_entity_manager', '@doctrine.orm.og_1_entity_manager', '@monolog.logger.og_migration']
+ tags: [{name: console.command, command: opengnsys:migration:execute}] \ No newline at end of file