+ ->treatNullLike([])
+ ->defaultValue($defaults['recover']['view']['context'])
+ ->variablePrototype()->end()
+ ->end()
+ ->end()
+ ->end()
+ ->arrayNode('mail')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->scalarNode('subject')->cannotBeEmpty()->defaultValue($defaults['recover']['mail']['subject'])->end()
+ ->scalarNode('html')->cannotBeEmpty()->defaultValue($defaults['recover']['mail']['html'])->end()
+ ->scalarNode('text')->cannotBeEmpty()->defaultValue($defaults['recover']['mail']['text'])->end()
+ ->arrayNode('context')
+ ->treatNullLike([])
+ ->defaultValue($defaults['recover']['mail']['context'])
+ ->variablePrototype()->end()
+ ->end()
+ ->end()
+ ->end()
+ ->end()
+ ->end()
+ ->arrayNode('register')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->arrayNode('admin')
+ ->treatNullLike([])
+ ->defaultValue($defaults['edit']['admin'])
+ ->variablePrototype()->end()
+ ->end()
+ ->arrayNode('field')
+ ->treatNullLike([])
+ ->defaultValue($defaults['register']['field'])
+ ->variablePrototype()->end()
+ ->end()
+ ->arrayNode('route')
+ ->treatNullLike([])
+ ->defaultValue($defaults['register']['route'])
+ ->scalarPrototype()->end()
+ ->end()
+ ->arrayNode('view')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->scalarNode('form')->cannotBeEmpty()->defaultValue($defaults['register']['view']['form'])->end()
+ ->scalarNode('name')->cannotBeEmpty()->defaultValue($defaults['register']['view']['name'])->end()
+ ->arrayNode('context')
+ ->treatNullLike([])
+ ->defaultValue($defaults['register']['view']['context'])
+ ->variablePrototype()->end()
+ ->end()
+ ->end()
+ ->end()
+ ->arrayNode('mail')
+ ->addDefaultsIfNotSet()
+ ->children()
+ ->scalarNode('subject')->cannotBeEmpty()->defaultValue($defaults['register']['mail']['subject'])->end()
+ ->scalarNode('html')->cannotBeEmpty()->defaultValue($defaults['register']['mail']['html'])->end()
+ ->scalarNode('text')->cannotBeEmpty()->defaultValue($defaults['register']['mail']['text'])->end()
+ ->arrayNode('context')
+ ->treatNullLike([])
+ ->defaultValue($defaults['register']['mail']['context'])
+ ->variablePrototype()->end()