OptionsResolverInterface setDefaults(array $defaultValues)
Sets default option values.
The options can either be values of any types or closures that evaluate the option value lazily. These closures must have one of the following signatures:
function (Options $options)
function (Options $options, $value)
The second parameter passed to the closure is the previously set default value, in case you are overwriting an existing default value.
The closures should return the lazily created option value.
Please login to continue.