| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 2 | public function getConfigTreeBuilder() |
|
| 28 | { |
||
| 29 | 2 | $treeBuilder = new TreeBuilder(); |
|
| 30 | |||
| 31 | 2 | $rootNode = $treeBuilder->root('run_open_code_query_resources_loader'); |
|
| 32 | |||
| 33 | $rootNode |
||
| 34 | 2 | ->addDefaultsIfNotSet() |
|
| 35 | 2 | ->children() |
|
| 36 | 2 | ->scalarNode('default_executor') |
|
| 37 | 2 | ->defaultValue(null) |
|
| 38 | 2 | ->info('Default executor that will be used in "execute" calls. If not stated, first registered executor will be default one.') |
|
| 39 | 2 | ->end() |
|
| 40 | 2 | ->append(new TwigNodeDefinition()) |
|
| 41 | 2 | ->end() |
|
| 42 | ; |
||
| 43 | |||
| 44 | 2 | return $treeBuilder; |
|
| 45 | } |
||
| 46 | } |
||
| 47 |