protected function configureContainer(ContainerConfigurator
$c): void
{ $c->
parameters() ->
set('halloween', 'Have a great day!'
);
$c->
services() ->
set('logger', NullLogger::
class) ->
set('stdClass', 'stdClass'
) ->
autowire() ->
factory([$this, 'createHalloween'
]) ->
arg('$halloween', '%halloween%'
);
$c->
extension('framework',
[ 'annotations' => false,
'http_method_override' => false,
'handle_all_throwables' => true,
'php_errors' =>
['log' => true
],
'router' =>
['utf8' => true
],
]);
}}