| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 29 | public function getConfigTreeBuilder() |
||
| 30 | { |
||
| 31 | $treeBuilder = new TreeBuilder(); |
||
| 32 | $treeBuilder->root('lin3_s_knowledge_base') |
||
| 33 | ->children() |
||
| 34 | ->scalarNode('docs_path') |
||
| 35 | ->defaultValue('%kernel.root_dir%/../docs/') |
||
| 36 | ->end() |
||
| 37 | ->scalarNode('build_path') |
||
| 38 | ->defaultValue('%kernel.cache_dir%/lin3s_knowledge_base/') |
||
| 39 | ->end() |
||
| 40 | ->scalarNode('template') |
||
| 41 | ->isRequired() |
||
| 42 | ->end() |
||
| 43 | ->scalarNode('assets_base_url') |
||
| 44 | ->defaultValue('/templates') |
||
| 45 | ->end() |
||
| 46 | ->end() |
||
| 47 | ->end(); |
||
| 48 | |||
| 49 | return $treeBuilder; |
||
| 50 | } |
||
| 51 | } |
||
| 52 |