getRootNode() ->children() ->arrayNode('parameters') ->arrayPrototype() ->children() ->scalarNode('group')->defaultValue('misc')->end() ->arrayNode('values') ->arrayPrototype() ->children() ->scalarNode('name')->end() ->enumNode('type') ->values([self::TYPE_TEXT, self::TYPE_NUMBER]) ->defaultValue(self::TYPE_TEXT) ->end() ->end() ->end() ->end() ->end() ->end() ->end() ->end(); return $treeBuilder; } }