OptionsResolver
setDefault(string $option, mixed $value)
Sets the default value of a given option. If the default value should be set based on other options, you can pass a closure with the following signature: function (Options $options) {
// ...
}
The closure will be evaluated when {@link resolve()} is called. The closure has access to the resolved values of other options through the passed {@link Options} instance: function (Options $options) {
if (isset($options['po