use Shopware\Storefront\Theme\ConfigLoader\DatabaseAvailableThemeProvider;
use Shopware\Storefront\Theme\ConfigLoader\DatabaseConfigLoader;
use Shopware\Storefront\Theme\SeedingThemePathBuilder;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
#[Package('storefront')]
class Configuration implements ConfigurationInterface
{ public function getConfigTreeBuilder(): TreeBuilder
{ $treeBuilder =
new TreeBuilder('storefront'
);
$rootNode =
$treeBuilder->
getRootNode();
$rootNode ->
children() ->
arrayNode('reverse_proxy'
) ->
children() ->
booleanNode('enabled'
)->
end() ->
booleanNode('use_varnish_xkey'
)->
defaultFalse()->
end() ->
arrayNode('hosts'
)->
performNoDeepMerging()->
scalarPrototype()->
end()->
end() ->
integerNode('max_parallel_invalidations'
)->
defaultValue(2
)->
end()