1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 20:32:11 +02:00

[ticket/12775] Add the definition of dbal.conn in fixtures/config/services.yml

PHPBB3-12775
This commit is contained in:
Tristan Darricau 2014-07-07 00:08:34 +02:00
parent 5b11ee8c97
commit e2cbaf4f1a
3 changed files with 20 additions and 7 deletions

View File

@ -183,7 +183,10 @@ class container_builder
$this->container->set('config.php', $this->config_php_file);
$this->inject_dbal();
if ($this->compile_container)
{
$this->inject_dbal();
}
return $this->container;
}

View File

@ -2,8 +2,13 @@ parameters:
core: true
services:
dispatcher:
class: phpbb\db\driver\container_mock
config.php:
synthetic: true
dbal.conn:
class: phpbb\db\driver\factory
arguments:
- @service_container
dispatcher:
class: phpbb\db\driver\container_mock

View File

@ -2,8 +2,13 @@ parameters:
other_config: true
services:
dispatcher:
class: phpbb\db\driver\container_mock
config.php:
synthetic: true
dbal.conn:
class: phpbb\db\driver\factory
arguments:
- @service_container
dispatcher:
class: phpbb\db\driver\container_mock