// Check the database driver is the default.
$container =
$this->
getSqliteContainer($service);
$data[] =
[$prefix . 'Sqlite',
$container];
// Test the opt out.
$container =
$this->
getSqliteContainer($service);
$container->
setParameter('default_backend', ''
);
$data[] =
[$prefix . 'Default',
$container];
// Set the mysql and the DrivertestMysql service, now the DrivertestMysql
// service, as it is the driver override, should be used.
$container =
$this->
getDrivertestMysqlContainer($service);
$container->
setDefinition('mysql.service',
new Definition(__NAMESPACE__ . '\\ServiceClassMysql'
));
$container->
setDefinition('DrivertestMysql.service',
new Definition(__NAMESPACE__ . '\\ServiceClassDrivertestMysql'
));
$data[] =
[$prefix . 'DrivertestMysql',
$container];
// Set the mysql service, now the mysql service, as it is the database_type
// override, should be used.
$container =
$this->
getDrivertestMysqlContainer($service);
$container->
setDefinition('mysql.service',
new Definition(__NAMESPACE__ . '\\ServiceClassMysql'
));
$data[] =
[$prefix . 'Mysql',
$container];
// Set the DrivertestMysql service, now the DrivertestMysql service, as it