13 lines
232 B
PHP
13 lines
232 B
PHP
|
<?php
|
||
|
|
||
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||
|
|
||
|
$container = new ContainerBuilder();
|
||
|
$container
|
||
|
->register('foo', 'FooClass\\Foo')
|
||
|
->setDecoratedService('bar')
|
||
|
->setPublic(true)
|
||
|
;
|
||
|
|
||
|
return $container;
|