You are here

protected function ResolveParameterPlaceHoldersPassTest::setUp in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/Tests/Compiler/ResolveParameterPlaceHoldersPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\ResolveParameterPlaceHoldersPassTest::setUp()

File

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