You are here

protected function ResolveParameterPlaceHoldersPassTest::setUp 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/ResolveParameterPlaceHoldersPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\ResolveParameterPlaceHoldersPassTest::setUp()

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveParameterPlaceHoldersPassTest.php, line 23

Class

ResolveParameterPlaceHoldersPassTest

Namespace

Symfony\Component\DependencyInjection\Tests\Compiler

Code

protected function setUp() {
  $this->compilerPass = new ResolveParameterPlaceHoldersPass();
  $this->container = $this
    ->createContainerBuilder();
  $this->compilerPass
    ->process($this->container);
  $this->fooDefinition = $this->container
    ->getDefinition('foo');
}