| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 16 | 
| Code Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 16 | public function getConfigTreeBuilder() | ||
| 17 |     { | ||
| 18 | $treeBuilder = new TreeBuilder(); | ||
| 19 |         $rootNode = $treeBuilder->root('coinhive'); | ||
| 20 | |||
| 21 | $rootNode | ||
| 22 | ->children() | ||
| 23 |             ->arrayNode('config') | ||
| 24 | ->children() | ||
| 25 |             ->scalarNode('site_key')->end() | ||
| 26 | ->end() | ||
| 27 | ->end() | ||
| 28 | ->end() | ||
| 29 | ; | ||
| 30 | |||
| 31 | return $treeBuilder; | ||
| 32 | } | ||
| 34 |