| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Code Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function getConfigTreeBuilder() |
||
| 27 | { |
||
| 28 | $treeBuilder = new TreeBuilder(); |
||
| 29 | $rootNode = $treeBuilder->root('symball_report'); |
||
| 30 | |||
| 31 | $rootNode |
||
| 32 | ->children() |
||
| 33 | ->scalarNode('excel_factory_namespace') |
||
| 34 | ->defaultValue('\PHPExcel_IOFactory') |
||
| 35 | ->end() |
||
| 36 | ->scalarNode('layout_style') |
||
| 37 | ->defaultValue('horizontal') |
||
| 38 | ->end() |
||
| 39 | ->scalarNode('output_format') |
||
| 40 | ->defaultValue('Excel2007') |
||
| 41 | ->end() |
||
| 42 | ->scalarNode('default_report_path') |
||
| 43 | ->isRequired() |
||
| 44 | ->end() |
||
| 45 | ->end() |
||
| 46 | ; |
||
| 47 | |||
| 48 | return $treeBuilder; |
||
| 49 | } |
||
| 50 | } |
||
| 51 |