| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function getConfigTreeBuilder() |
||
| 20 | { |
||
| 21 | $treeBuilder = new TreeBuilder(); |
||
| 22 | $rootNode = $treeBuilder->root('mewes_k_twig_excel'); |
||
| 23 | |||
| 24 | $rootNode |
||
| 25 | ->children() |
||
| 26 | ->booleanNode('pre_calculate_formulas')->defaultTrue()->info('Pre-calculating formulas can be slow in certain cases. Disabling this option can improve the performance but the resulting documents won\'t show the result of any formulas when opened in a external spreadsheet software.')->end() |
||
| 27 | ->scalarNode('disk_caching_directory')->defaultNull()->info('Using disk caching can improve memory consumption by writing data to disk temporary. Works only for .XLSX and .ODS documents.')->example('/tmp')->end() |
||
| 28 | ->end(); |
||
| 29 | |||
| 30 | return $treeBuilder; |
||
| 31 | } |
||
| 32 | } |
||
| 33 |