/**
* Generates the configuration tree builder.
*/
public function getConfigTreeBuilder(): TreeBuilder
{ $treeBuilder =
new TreeBuilder('framework'
);
$rootNode =
$treeBuilder->
getRootNode();
$rootNode ->
beforeNormalization() ->
ifTrue(fn ($v) => !
isset($v['assets'
]) &&
isset($v['templating'
]) &&
class_exists(Package::
class)) ->
then(function D
$v) { $v['assets'
] =
[];
return $v;
}) ->
end() ->
validate() ->
always(function D
$v) { if (!
isset($v['http_method_override'
])) { trigger_deprecation('symfony/framework-bundle', '6.1', 'Not setting the "framework.http_method_override" config option is deprecated. It will default to "false" in 7.0.'
);