| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function getConfigTreeBuilder() |
||
| 15 | { |
||
| 16 | $builder = new TreeBuilder('nw_json_request'); |
||
| 17 | $builder->getRootNode() |
||
| 18 | ->children() |
||
| 19 | ->arrayNode('listener') |
||
| 20 | ->addDefaultsIfNotSet() |
||
| 21 | ->children() |
||
| 22 | ->scalarNode('request_transformer') |
||
| 23 | ->defaultValue(RequestTransformerListener::class) |
||
| 24 | ->end() |
||
| 25 | ->scalarNode('priority') |
||
| 26 | ->defaultValue(100) |
||
| 27 | ->end() |
||
| 28 | ->end() |
||
| 29 | ->end() |
||
| 30 | ->end(); |
||
| 31 | |||
| 32 | return $builder; |
||
| 33 | } |
||
| 35 |