| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function getConfigTreeBuilder() |
||
| 11 | { |
||
| 12 | $treeBuilder = new TreeBuilder('rapido'); |
||
| 13 | |||
| 14 | $treeBuilder->getRootNode() |
||
| 15 | ->children() |
||
| 16 | ->scalarNode('table_name_prefix') |
||
| 17 | ->defaultValue('read_model_') |
||
| 18 | ->end() |
||
| 19 | ->scalarNode('table_name_suffix') |
||
| 20 | ->defaultValue('_snapshot') |
||
| 21 | ->end() |
||
| 22 | ->scalarNode('id_column_name') |
||
| 23 | ->defaultValue('id') |
||
| 24 | ->end() |
||
| 25 | ->scalarNode('database_connection') |
||
| 26 | ->defaultValue('database_connection') |
||
| 27 | ->end() |
||
| 28 | ->end() |
||
| 29 | ; |
||
| 30 | |||
| 31 | return $treeBuilder; |
||
| 32 | } |
||
| 34 |