container10.php in Service Container 7.2
Same filename and directory in other branches
File
modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container10.phpView source
<?php
require_once __DIR__ . '/../includes/classes.php';
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;
$container = new ContainerBuilder();
$container
->register('foo', 'FooClass')
->addArgument(new Reference('bar'));
return $container;