public function XmlFileLoaderTest::testLoadIndexedArguments in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Tests/Loader/XmlFileLoaderTest.php \Symfony\Component\DependencyInjection\Tests\Loader\XmlFileLoaderTest::testLoadIndexedArguments()
File
- vendor/
symfony/ dependency-injection/ Tests/ Loader/ XmlFileLoaderTest.php, line 458
Class
Namespace
Symfony\Component\DependencyInjection\Tests\LoaderCode
public function testLoadIndexedArguments() {
$container = new ContainerBuilder();
$loader = new XmlFileLoader($container, new FileLocator(self::$fixturesPath . '/xml'));
$loader
->load('services14.xml');
$this
->assertEquals(array(
'index_0' => 'app',
), $container
->findDefinition('logger')
->getArguments());
}