| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function getConfigTreeBuilder() |
||
| 17 | { |
||
| 18 | // Initialize |
||
| 19 | $treeBuilder = new TreeBuilder(); |
||
| 20 | $rootNode = $treeBuilder->root('afsy_chat'); |
||
| 21 | |||
| 22 | // Add AFSY Chat configuration |
||
| 23 | $rootNode |
||
| 24 | ->children() |
||
| 25 | ->arrayNode('websocket') |
||
| 26 | ->children() |
||
| 27 | ->scalarNode('host')->end() |
||
| 28 | ->integerNode('port')->end() |
||
| 29 | ->end() |
||
| 30 | ->end() |
||
| 31 | ->end(); |
||
| 32 | |||
| 33 | return $treeBuilder; |
||
| 34 | } |
||
| 36 |