Symfony\Component\Config\Definition\ArrayNode::preNormalize
Normalizes keys between the different configuration formats.
Namely, you mostly have foo_bar in YAML while you have foo-bar in XML. After running this method, all keys are normalized to foo_bar. If you have a mixed key like foo-bar_moo, it will not be altered. The key will also not be altered if the target key already exists.
Signature
protected function preNormalize(mixed
$value )
Parameters
$value
— mixed
Returns
- array
- The value with normalized keys