public function MessageCatalogueTest::testAddFallbackCatalogueWithParentCircularReference in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Tests/MessageCatalogueTest.php \Symfony\Component\Translation\Tests\MessageCatalogueTest::testAddFallbackCatalogueWithParentCircularReference()
@expectedException \LogicException
File
- vendor/
symfony/ translation/ Tests/ MessageCatalogueTest.php, line 130
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testAddFallbackCatalogueWithParentCircularReference() {
$main = new MessageCatalogue('en_US');
$fallback = new MessageCatalogue('fr_FR');
$fallback
->addFallbackCatalogue($main);
$main
->addFallbackCatalogue($fallback);
}