public function XmlDumperTest::testCompiledContainerCanBeDumped in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Tests/Dumper/XmlDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\XmlDumperTest::testCompiledContainerCanBeDumped()
@dataProvider provideCompiledContainerData
File
- vendor/
symfony/ dependency-injection/ Tests/ Dumper/ XmlDumperTest.php, line 157
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();
}