| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 7 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 28 | public function getConfigTreeBuilder() |
||
| 29 | { |
||
| 30 | $treeBuilder = new TreeBuilder(); |
||
| 31 | $rootNode = $treeBuilder->root('ongr_router'); |
||
| 32 | |||
| 33 | $rootNode |
||
| 34 | ->children() |
||
| 35 | ->scalarNode('manager') |
||
| 36 | ->defaultValue('es.manager.default') |
||
| 37 | ->info('Elasticsearch manager to use in the ONGR default router') |
||
| 38 | ->example('es.manager.default') |
||
| 39 | ->end() |
||
| 40 | ->arrayNode('seo_routes') |
||
| 41 | ->defaultValue([]) |
||
| 42 | ->prototype('scalar')->end() |
||
| 43 | ->end() |
||
| 44 | ->end(); |
||
| 45 | |||
| 46 | return $treeBuilder; |
||
| 47 | } |
||
| 48 | } |
||
| 49 |