12 lines
197 B
PHP
12 lines
197 B
PHP
|
<?php
|
||
|
|
||
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||
|
|
||
|
$container = new ContainerBuilder();
|
||
|
$container
|
||
|
->register('foo', '%foo.class%')
|
||
|
->setPublic(true)
|
||
|
;
|
||
|
|
||
|
return $container;
|