Question from the Symfony 6 test

Does the OptionResolver component support PHP Enums?