You are here

protected function AnalyzeServiceReferencesPassTest::process in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/AnalyzeServiceReferencesPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\AnalyzeServiceReferencesPassTest::process()
5 calls to AnalyzeServiceReferencesPassTest::process()
AnalyzeServiceReferencesPassTest::testProcess in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/AnalyzeServiceReferencesPassTest.php
AnalyzeServiceReferencesPassTest::testProcessDetectsFactoryReferences in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/AnalyzeServiceReferencesPassTest.php
AnalyzeServiceReferencesPassTest::testProcessDetectsReferencesFromInlinedDefinitions in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/AnalyzeServiceReferencesPassTest.php
AnalyzeServiceReferencesPassTest::testProcessDetectsReferencesFromInlinedFactoryDefinitions in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/AnalyzeServiceReferencesPassTest.php
AnalyzeServiceReferencesPassTest::testProcessDoesNotSaveDuplicateReferences in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/AnalyzeServiceReferencesPassTest.php

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/AnalyzeServiceReferencesPassTest.php, line 139

Class

AnalyzeServiceReferencesPassTest

Namespace

Symfony\Component\DependencyInjection\Tests\Compiler

Code

protected function process(ContainerBuilder $container) {
  $pass = new RepeatedPass(array(
    new AnalyzeServiceReferencesPass(),
  ));
  $pass
    ->process($container);
  return $container
    ->getCompiler()
    ->getServiceReferenceGraph();
}