14 lines
288 B
PHP
14 lines
288 B
PHP
|
<?php
|
||
|
|
||
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||
|
|
||
|
$container = new ContainerBuilder();
|
||
|
$container->
|
||
|
register('foo', 'FooClass\\Foo')->
|
||
|
addArgument('foo<>&bar')->
|
||
|
addTag('foo"bar\\bar', ['foo' => 'foo"barřž€'])
|
||
|
->setPublic(true)
|
||
|
;
|
||
|
|
||
|
return $container;
|