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');
        $this->configureIntegerProperty('stopwaitsecs', $resolver);

        $resolver->setDefined('stopasgroup');
        $this->configureBooleanProperty('stopasgroup', $resolver);

        $resolver->setDefined('killasgroup');
        $this->configureBooleanProperty('killasgroup', $resolver);
    }