You should use ``setRequired`` on the ``OptionsResolverInterface`` object