private function configureStopControlProperties(OptionsResolver $resolver)
    {
        $resolver->setDefined('exitcodes');
        $this->configureArrayProperty('exitcodes', $resolver);

        $resolver
            ->setDefined('stopsignal')
            ->setAllowedTypes('stopsignal', 'string')
            ->setAllowedValues('stopsignal', ['TERM', 'HUP', 'INT', 'QUIT', 'KILL', 'USR1', 'USR2']);

        $resolver->setDefined('stopwaitsecs')
            ->setAllowedTypes('stopwaitsecs', 'int');

        $resolver->setDefined('stopasgroup')
            ->setAllowedTypes('stopasgroup', 'bool');

        $resolver->setDefined('killasgroup')
            ->setAllowedTypes('killasgroup', 'bool');
    }