| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function getConfigTreeBuilder() |
||
| 11 | { |
||
| 12 | $builder = new TreeBuilder(); |
||
| 13 | $rootNode = $builder->root('rdv_migration'); |
||
| 14 | |||
| 15 | $rootNode |
||
| 16 | ->children() |
||
| 17 | // default path inside each bundle to load migrations |
||
| 18 | ->scalarNode('migration_path') |
||
| 19 | ->defaultValue('Migrations/Schema') |
||
| 20 | ->end() |
||
| 21 | // default path inside each bundle to load fixtures and sample data |
||
| 22 | ->scalarNode('fixtures_path') |
||
| 23 | ->defaultValue('Migrations/Data') |
||
| 24 | ->end() |
||
| 25 | ->arrayNode('namespaces') |
||
| 26 | ->prototype('scalar')->end() |
||
| 27 | ->end() |
||
| 28 | ->end(); |
||
| 29 | |||
| 30 | return $builder; |
||
| 31 | } |
||
| 32 | } |
||
| 33 |