projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Version 1
[yaffs-website]
/
vendor
/
symfony
/
dependency-injection
/
Tests
/
Fixtures
/
containers
/
container24.php
1
<?php
2
3
use Symfony\Component\DependencyInjection\ContainerBuilder;
4
use Symfony\Component\DependencyInjection\Definition;
5
6
$container = new ContainerBuilder();
7
8
$container
9
->register('foo', 'Foo')
10
->setAutowired(true)
11
->addAutowiringType('A')
12
->addAutowiringType('B')
13
;
14
15
return $container;