15 lines
402 B
PHP
15 lines
402 B
PHP
<?php
|
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
|
|
|
|
$container = new ContainerBuilder(new ParameterBag(array(
|
|
'FOO' => '%baz%',
|
|
'baz' => 'bar',
|
|
'bar' => 'foo is %%foo bar',
|
|
'escape' => '@escapeme',
|
|
'values' => array(true, false, null, 0, 1000.3, 'true', 'false', 'null'),
|
|
)));
|
|
|
|
return $container;
|