| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1.0036 |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | 1 | public function getConfigTreeBuilder() |
|
| 13 | { |
||
| 14 | 1 | $builder = new TreeBuilder(); |
|
| 15 | 1 | $root = $builder->root('jsonrpc_server'); |
|
| 16 | |||
| 17 | 1 | $root->children() |
|
| 18 | 1 | ->scalarNode('view_listener') |
|
| 19 | 2 | ->info('View listener service ID') |
|
| 20 | 1 | ->defaultValue('jsonrpc_server.builtin_adapter.view_listener'); |
|
| 21 | 1 | ||
| 22 | 2 | $adapters = $root->children()->arrayNode('adapters'); |
|
| 23 | 2 | $this->configureJms($adapters); |
|
| 24 | |||
| 25 | 2 | return $builder; |
|
| 26 | } |
||
| 27 | |||
| 46 |