diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-01-22 18:16:30 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-01-22 18:16:30 +0100 |
commit | bcf13551bee63417cce1cf030c016eeb8855b751 (patch) | |
tree | b9b2c4b11d66c812638a9c4b2d928f2badaea088 /phpBB/config | |
parent | f9f43141a91ce07916cc327b7fd94afba7bfb7bf (diff) | |
parent | 11b6bc5722a6a4aed1cd45ce65f2d9cf16ae7dd5 (diff) | |
download | forums-bcf13551bee63417cce1cf030c016eeb8855b751.tar forums-bcf13551bee63417cce1cf030c016eeb8855b751.tar.gz forums-bcf13551bee63417cce1cf030c016eeb8855b751.tar.bz2 forums-bcf13551bee63417cce1cf030c016eeb8855b751.tar.xz forums-bcf13551bee63417cce1cf030c016eeb8855b751.zip |
Merge pull request #3275 from nickvergessen/ticket/13487
[ticket/13487] Add factory for db tool class
Diffstat (limited to 'phpBB/config')
-rw-r--r-- | phpBB/config/default/container/services_db.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_db.yml b/phpBB/config/default/container/services_db.yml index ce08785c65..77ceb0b02c 100644 --- a/phpBB/config/default/container/services_db.yml +++ b/phpBB/config/default/container/services_db.yml @@ -9,8 +9,13 @@ services: calls: - [sql_connect, [%dbal.dbhost%, %dbal.dbuser%, %dbal.dbpasswd%, %dbal.dbname%, %dbal.dbport%, false, %dbal.new_link%]] +# ----- DB Tools ----- + dbal.tools.factory: + class: phpbb\db\tools\factory + dbal.tools: class: phpbb\db\tools\tools + factory: ["@dbal.tools.factory", get] arguments: - @dbal.conn |