root(); $treeBuilder->getRootNode() ->children() ->arrayNode('routes') ->children() ->scalarNode('class_name')->end() ->end() ->end() ->end() ; // Here you should define the parameters that are allowed to // configure your bundle. See the documentation linked above for // more information on that topic. return $treeBuilder; } }