protected function CheckCircularReferencesPassTest::process in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/CheckCircularReferencesPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\CheckCircularReferencesPassTest::process()
7 calls to CheckCircularReferencesPassTest::process()
- CheckCircularReferencesPassTest::testDeepCircularReference in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php - @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
- CheckCircularReferencesPassTest::testProcess in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php - @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
- CheckCircularReferencesPassTest::testProcessDetectsIndirectCircularReference in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php - @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
- CheckCircularReferencesPassTest::testProcessDetectsIndirectCircularReferenceWithFactory in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php - @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
- CheckCircularReferencesPassTest::testProcessIgnoresMethodCalls in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php, line 118
Class
Namespace
Symfony\Component\DependencyInjection\Tests\CompilerCode
protected function process(ContainerBuilder $container) {
$compiler = new Compiler();
$passConfig = $compiler
->getPassConfig();
$passConfig
->setOptimizationPasses(array(
new AnalyzeServiceReferencesPass(true),
new CheckCircularReferencesPass(),
));
$passConfig
->setRemovingPasses(array());
$compiler
->compile($container);
}