root('mactronique_php_cache'); // Here you should define the parameters that are allowed to // configure your bundle. See the documentation linked above for // more information on that topic. $rootNode->children() ->arrayNode('drivers') ->prototype('array') ->children() ->scalarNode('name') ->isRequired() ->cannotBeEmpty() ->end() ->arrayNode('options') ->useAttributeAsKey('opt_name', true) ->prototype('scalar')->end() ->end() ->end() ->end() ->end() ->end(); return $treeBuilder; } }