/**
  * {@inheritdoc}
  */
 public function getConfigTreeBuilder()
 {
     $tree = new TreeConfigBuilder();
     $root = $tree->root('framework');
     $root->children()->arrayNode('router')->children()->arrayNode('routes')->isRequired()->prototype('array')->end()->end()->scalarNode('prefix')->defaultValue('Controller')->end()->end()->end()->arrayNode('template')->children()->scalarNode('app_path')->isRequired()->end()->end()->end()->arrayNode('log')->children()->scalarNode('name')->isRequired()->end()->arrayNode('handlers')->isRequired()->prototype('array')->end()->end()->end()->end()->arrayNode('acl')->children()->arrayNode('policies')->prototype('array')->end()->end()->end()->end()->end();
     return $tree;
 }
 /**
  * Get config tree builder.
  *
  * @return TreeConfigBuilder
  */
 public function getConfigTreeBuilder()
 {
     $tree = new TreeConfigBuilder();
     $root = $tree->root('twig');
     $root->children()->arrayNode('options')->children()->booleanNode('debug')->end()->scalarNode('charset')->end()->scalarNode('base_template_class')->end()->booleanNode('strict_variables')->end()->scalarNode('autoescape')->end()->scalarNode('cache')->end()->scalarNode('auto_reload')->end()->integerNode('optimizations')->end()->end()->end()->scalarNode('app_path')->isRequired()->end()->arrayNode('paths')->prototype('scalar')->end()->end()->end();
     return $root;
 }
 /**
  * {@inheritdoc}
  */
 public function getConfigTreeBuilder()
 {
     $tree = new TreeConfigBuilder();
     $root = $tree->root('cqrs');
     $root->children()->arrayNode('read_model')->isRequired()->children()->copyNode('storage', $this->storageDefinitionTemplate())->end()->end()->end()->arrayNode('event_store')->isRequired()->children()->copyNode('storage', $this->storageDefinitionTemplate())->end()->end()->end()->arrayNode('snapshot')->isRequired()->children()->copyNode('storage', $this->storageDefinitionTemplate())->end()->booleanNode('enable')->defaultFalse()->end()->integerNode('periodically')->defaultValue(50)->end()->end()->end()->arrayNode('queue')->isRequired()->children()->scalarNode('active')->isRequired()->end()->arrayNode('drivers')->prototype('array')->end()->end()->end()->end()->arrayNode('broadcaster')->isRequired()->children()->scalarNode('active')->isRequired()->end()->arrayNode('connections')->prototype('array')->end()->end()->end()->end()->end();
     return $tree;
 }
 /**
  * Get config tree builder.
  *
  * @return TreeConfigBuilder
  */
 public function getConfigTreeBuilder()
 {
     $tree = new TreeConfigBuilder();
     $root = $tree->root('product');
     $root->children()->enumNode('id_type', array('integer', 'string'))->end()->scalarNode('prefix')->defaultValue('/pre')->cannotBeOverwritten()->end()->arrayNode('col')->prototype('scalar')->end()->end();
     return $tree;
 }
 /**
  * Get config tree builder.
  *
  * @return TreeConfigBuilder
  */
 public function getConfigTreeBuilder()
 {
     $tree = new TreeConfigBuilder();
     $root = $tree->root('framework');
     $root->children()->scalarNode('host')->defaultValue('localhost')->end()->integerNode('port')->end()->booleanNode('secure')->defaultFalse()->end()->end();
     return $tree;
 }
 /**
  * Get config tree builder.
  *
  * @return TreeConfigBuilder
  */
 public function getConfigTreeBuilder()
 {
     $tree = new TreeConfigBuilder();
     $root = $tree->root('demo');
     $root->children()->scalarNode('locale')->end()->integerNode('port')->end()->arrayNode('router')->prototype('array')->end()->end();
     return $tree;
 }