| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 8 | ||
| Bugs | 2 | Features | 1 |
| 1 | <?php |
||
| 26 | public function getConfigTreeBuilder() |
||
| 27 | { |
||
| 28 | $treeBuilder = new TreeBuilder(); |
||
| 29 | $treeBuilder->root('dunglas_action') |
||
| 30 | ->fixXmlConfig('directory', 'directories') |
||
| 31 | ->children() |
||
| 32 | ->arrayNode('directories') |
||
| 33 | ->info('List of directories relative to the kernel root directory containing classes.') |
||
| 34 | ->useAttributeAsKey('prefix') |
||
| 35 | ->prototype('array') |
||
| 36 | ->prototype('scalar')->end() |
||
| 37 | ->end() |
||
| 38 | ->defaultValue([ |
||
| 39 | 'controller' => ['../src/*Bundle/Controller', '../src/*Bundle/Action'], |
||
| 40 | 'command' => ['../src/*Bundle/Command'], |
||
| 41 | ]) |
||
| 42 | ->end() |
||
| 43 | ->end() |
||
| 44 | ->end(); |
||
| 45 | |||
| 46 | return $treeBuilder; |
||
| 47 | } |
||
| 48 | } |
||
| 49 |