original_string: 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');
      }
code: 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');
      }
code_tokens: 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' ) ; }
docstring: Configures stop control related properties.
  
  @param OptionsResolver $resolver
docstring_tokens: Configures stop control related properties .