};
$container['translation.service'
] =
function D
$c) { return new TranslationService($c['translations'
]);
};
// dump class contains state so we define it as factory here
$container['database.dump_iterator'
] =
$container->
factory(function D
$c) { $dumpFile = __DIR__ . '/../data/sql/install.sql';
return new DumpIterator($dumpFile);
});
// dump class contains state so we define it as factory here
$container['database.dump_iterator_en_gb'
] =
$container->
factory(function D
$c) { $dumpFile = __DIR__ . '/../data/sql/en.sql';
return new DumpIterator($dumpFile);
});
// dump class contains state so we define it as factory here
$container['database.snippet_dump_iterator'
] =
$container->
factory(function D
$c) {