- #TODO: see if we can't prevent key normalisation with ->normalizeKeys(false)
- #->scalarNode('locales')->cannotBeEmpty()->defaultValue($defaults['locales'])->end()
- ->variableNode('locales')
- ->treatNullLike([])
- ->defaultValue($defaults['locales'])
- #->scalarPrototype()->end()
- ->end()
- #TODO: see if we can't prevent key normalisation with ->normalizeKeys(false)
- #->scalarNode('languages')->cannotBeEmpty()->defaultValue($defaults['languages'])->end()
- ->variableNode('languages')
- ->treatNullLike([])
- ->defaultValue($defaults['languages'])
- #->scalarPrototype()->end()
- ->end()
- ->scalarNode('path')->defaultValue($defaults['path'])->end()
- #->arrayNode('public')
- # ->addDefaultsIfNotSet()
- # ->children()
- # ->scalarNode('path')->defaultValue($defaults['public']['path'])->end()
- # ->scalarNode('url')->defaultValue($defaults['public']['url'])->end()
- # ->end()
- #->end()
+ ->scalarNode('locales')->cannotBeEmpty()->defaultValue($defaults['locales'])->end()
+ ->scalarNode('languages')->cannotBeEmpty()->defaultValue($defaults['languages'])->end()