You are here

container11.php in Zircon Profile 8.0

File

vendor/symfony/dependency-injection/Tests/Fixtures/containers/container11.php
View source
<?php

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;
$container = new ContainerBuilder();
$container
  ->register('foo', 'FooClass')
  ->addArgument(new Definition('BarClass', array(
  new Definition('BazClass'),
)));
return $container;