OptionsResolverInterface setAllowedTypes(array $allowedTypes)
Sets allowed types for a list of options.
OptionsResolverInterface setAllowedTypes(array $allowedTypes)
Sets allowed types for a list of options.
array | $allowedTypes | A list of option names as keys and type names passed as string or array as values. |
OptionsResolverInterface | The resolver instance. |
InvalidOptionsException | If an option has not been defined for which an allowed type is set. |
Designed by : w10schools
service@w10schools.com
Please login to continue.