1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-30 03:30:17 +02:00

[ticket/13777] Deduplicate migration service definitions

PHPBB3-13777
This commit is contained in:
MateBartus
2015-05-31 13:20:56 +02:00
parent 71d03647f0
commit e877a752be
3 changed files with 5 additions and 63 deletions

View File

@@ -1,7 +1,9 @@
services:
# ----- Migrator -----
migrator:
class: phpbb\db\migrator
arguments:
- @service_container
- @config
- @dbal.conn
- @dbal.tools
@@ -15,6 +17,7 @@ services:
migrator.helper:
class: phpbb\db\migration\helper
# ----- Migrator's tools -----
migrator.tool_collection:
class: phpbb\di\service_collection
arguments:
@@ -42,6 +45,7 @@ services:
- @dbal.conn
- @cache
- @user
- @module.manager
- %core.root_path%
- %core.php_ext%
- %tables.modules%