You are here

protected function RemoveUnusedDefinitionsPassTest::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/RemoveUnusedDefinitionsPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\RemoveUnusedDefinitionsPassTest::process()
4 calls to RemoveUnusedDefinitionsPassTest::process()
RemoveUnusedDefinitionsPassTest::testProcess in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/RemoveUnusedDefinitionsPassTest.php
RemoveUnusedDefinitionsPassTest::testProcessRemovesUnusedDefinitionsRecursively in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/RemoveUnusedDefinitionsPassTest.php
RemoveUnusedDefinitionsPassTest::testProcessWontRemovePrivateFactory in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/RemoveUnusedDefinitionsPassTest.php
RemoveUnusedDefinitionsPassTest::testProcessWorksWithInlinedDefinitions in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/RemoveUnusedDefinitionsPassTest.php

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/RemoveUnusedDefinitionsPassTest.php, line 108

Class

RemoveUnusedDefinitionsPassTest

Namespace

Symfony\Component\DependencyInjection\Tests\Compiler

Code

protected function process(ContainerBuilder $container) {
  $repeatedPass = new RepeatedPass(array(
    new AnalyzeServiceReferencesPass(),
    new RemoveUnusedDefinitionsPass(),
  ));
  $repeatedPass
    ->process($container);
}