public function ResolveReferencesToAliasesPassTest::testAliasCircularReference in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/Compiler/ResolveReferencesToAliasesPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\ResolveReferencesToAliasesPassTest::testAliasCircularReference()
@expectedException \Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
File
- vendor/
symfony/ dependency-injection/ Tests/ Compiler/ ResolveReferencesToAliasesPassTest.php, line 54
Class
Namespace
Symfony\Component\DependencyInjection\Tests\CompilerCode
public function testAliasCircularReference() {
$container = new ContainerBuilder();
$container
->setAlias('bar', 'foo');
$container
->setAlias('foo', 'bar');
$this
->process($container);
}