OptionsResolver
setNormalizer(string $option, Closure $normalizer)
Sets the normalizer for an option. The normalizer should be a closure with the following signature: php
function (Options $options, $value) {
// ...
} The closure is invoked when {@link resolve()} is called. The closure has access to the resolved values of other options through the passed {@link Options} instance. The second parameter passed to the closure is the value of the option. The resolved option value