OptionsResolver setAllowedTypes(string $option, string|string[] $allowedTypes)
Sets allowed types for an option.
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.