| Conditions | 2 |
| Paths | 2 |
| Total Lines | 19 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 51 | public function getConfigTreeBuilder() |
||
| 52 | { |
||
| 53 | $treeBuilder = new TreeBuilder(); |
||
| 54 | $rootNode = $treeBuilder->root($this->alias); |
||
| 55 | |||
| 56 | foreach ($this->serviceSources as $serviceSource) { |
||
| 57 | $serviceSource->getNodeDefinition($rootNode); |
||
| 58 | } |
||
| 59 | |||
| 60 | $rootNode |
||
| 61 | ->children() |
||
| 62 | ->scalarNode('json_converter') |
||
| 63 | ->defaultValue(StandardJsonConverter::class) |
||
| 64 | ->info('Converter used to encode and decode JSON objects (JWT payloads, keys, key sets...). If set to false, a service that implements JsonConverterInterface must be set.') |
||
| 65 | ->end() |
||
| 66 | ->end(); |
||
| 67 | |||
| 68 | return $treeBuilder; |
||
| 69 | } |
||
| 70 | } |
||
| 71 |