Symfony Config Treebuilder
Dynamic keys are not supported.
you should make something like this:
root_node: static_key: - { key: dynamic_key_1, value: [array, of, values] } - { key: dynamic_key_2, value: [array, of, values] }
and if i am right you might get something like this:
$rootNode ->children() ->arrayNode('static_key') ->prototype('array') ->children() ->scalarNode('key')->isRequired()->end() ->arrayNode('value') ->prototype('scalar') ->end() ->end() ->end() ->end() ->end() ->end()