protected function CheckCircularReferencesPassTest::process in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/Compiler/CheckCircularReferencesPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\CheckCircularReferencesPassTest::process()
7 calls to CheckCircularReferencesPassTest::process()
- CheckCircularReferencesPassTest::testDeepCircularReference in vendor/
symfony/ dependency-injection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php - @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
- CheckCircularReferencesPassTest::testProcess in vendor/
symfony/ dependency-injection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php - @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
- CheckCircularReferencesPassTest::testProcessDetectsIndirectCircularReference in vendor/
symfony/ dependency-injection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php - @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
- CheckCircularReferencesPassTest::testProcessDetectsIndirectCircularReferenceWithFactory in vendor/
symfony/ dependency-injection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php - @expectedException \Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException
- CheckCircularReferencesPassTest::testProcessIgnoresMethodCalls in vendor/
symfony/ dependency-injection/ Tests/ Compiler/ CheckCircularReferencesPassTest.php
File
- vendor/
symfony/ dependency-injection/ 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);
}