| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | // protected function addTranslatorSection(ArrayNodeDefinition $rootNode): void |
||
| 45 | // { |
||
| 46 | // $rootNode |
||
| 47 | // ->children() |
||
| 48 | // ->arrayNode('translator') |
||
| 49 | // ->info('translator configuration') |
||
| 50 | // ->canBeEnabled() |
||
| 51 | // ->fixXmlConfig('fallback') |
||
| 52 | // ->children() |
||
| 53 | // ->arrayNode('fallbacks') |
||
| 54 | // ->beforeNormalization()->ifString()->then(static function($v) { |
||
| 55 | // return [$v]; |
||
| 56 | // })->end() |
||
| 57 | // ->prototype('scalar')->end() |
||
| 58 | // ->defaultValue(['en']) |
||
| 59 | // ->end() |
||
| 60 | // ->booleanNode('logging')->defaultValue($this->debug)->end() |
||
| 61 | // ->end() |
||
| 62 | // ->end() |
||
| 63 | // ->end() |
||
| 64 | // ; |
||
| 67 |