I would like to add a simple list of values in a configuration files (config.yml). For example :
my_bundle:
columns: ["col1", "col2"]
When adding the node to the configuration parser, it simply fails :
$rootNode = $treeBuilder->root('my_bundle');
$rootNode->arrayNode('columns')->children()->end();
Here is the error :
InvalidConfigurationException: Unrecognized options "0, 1" under "my_bundle.columns"
What am I missing? Is this even possible?