You are here

protected function RemoveUnusedDefinitionsPassTest::process in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/Tests/Compiler/RemoveUnusedDefinitionsPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\RemoveUnusedDefinitionsPassTest::process()
4 calls to RemoveUnusedDefinitionsPassTest::process()
RemoveUnusedDefinitionsPassTest::testProcess in vendor/symfony/dependency-injection/Tests/Compiler/RemoveUnusedDefinitionsPassTest.php
RemoveUnusedDefinitionsPassTest::testProcessRemovesUnusedDefinitionsRecursively in vendor/symfony/dependency-injection/Tests/Compiler/RemoveUnusedDefinitionsPassTest.php
RemoveUnusedDefinitionsPassTest::testProcessWontRemovePrivateFactory in vendor/symfony/dependency-injection/Tests/Compiler/RemoveUnusedDefinitionsPassTest.php
RemoveUnusedDefinitionsPassTest::testProcessWorksWithInlinedDefinitions in vendor/symfony/dependency-injection/Tests/Compiler/RemoveUnusedDefinitionsPassTest.php

File

vendor/symfony/dependency-injection/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);
}