OptionsResolver addAllowedTypes(string $option, string|string[] $allowedTypes)
Adds allowed types for an option.
The types are merged with the allowed types defined previously.
Any type for which a corresponding is_() function exists is acceptable. Additionally, fully-qualified class or interface names may be passed.
Please login to continue.