*/ class FactoryConfiguration implements ConfigurationInterface { /** * Generates the configuration tree builder * * @return TreeBuilder */ public function getConfigTreeBuilder() { $treeBuilder = new TreeBuilder(); $treeBuilder ->root('knplabs_gaufrette') ->ignoreExtraKeys() ->fixXmlConfig('factory', 'factories') ->children() ->arrayNode('factories') ->prototype('scalar')->end() ->end() ->end() ->end() ; return $treeBuilder; } }