public function XmlDumperTest::testCompiledContainerCanBeDumped in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\XmlDumperTest::testCompiledContainerCanBeDumped()
@dataProvider provideCompiledContainerData
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Dumper/ XmlDumperTest.php, line 159
Class
Namespace
Symfony\Component\DependencyInjection\Tests\DumperCode
public function testCompiledContainerCanBeDumped($containerFile) {
$fixturesPath = __DIR__ . '/../Fixtures';
$container = (require $fixturesPath . '/containers/' . $containerFile . '.php');
$container
->compile();
$dumper = new XmlDumper($container);
$dumper
->dump();
}