original_string: protected function checkRequiredOptions(array $options)
      {
          array_walk(
              $this->supportedOptions,
              function ($supportedOptionData, $supportedOptionName, $options) {
                  if (isset($supportedOptionData[1])
                      && true === $supportedOptionData[1]
                      && empty($supportedOptionData[0])
                      && !array_key_exists($supportedOptionName, $options)
                  ) {
                      throw new InvalidServiceOptionsException(
                          'Required validation option not set: ' . $supportedOptionName,
                          1456397839
                      );
                  }
              },
              $options
          );
      }
code: protected function checkRequiredOptions(array $options)
      {
          array_walk(
              $this->supportedOptions,
              function ($supportedOptionData, $supportedOptionName, $options) {
                  if (isset($supportedOptionData[1])
                      && true === $supportedOptionData[1]
                      && empty($supportedOptionData[0])
                      && !array_key_exists($supportedOptionName, $options)
                  ) {
                      throw new InvalidServiceOptionsException(
                          'Required validation option not set: ' . $supportedOptionName,
                          1456397839
                      );
                  }
              },
              $options
          );
      }
code_tokens: protected function checkRequiredOptions ( array $ options ) { array_walk ( $ this -> supportedOptions , function ( $ supportedOptionData , $ supportedOptionName , $ options ) { if ( isset ( $ supportedOptionData [ 1 ] ) && true === $ supportedOptionData [ 1 ] && empty ( $ supportedOptionData [ 0 ] ) && ! array_key_exists ( $ supportedOptionName , $ options ) ) { throw new InvalidServiceOptionsException ( 'Required validation option not set: ' . $ supportedOptionName , 1456397839 ) ; } } , $ options ) ; }
docstring: Will check if the required options are correctly filled.
  
  @param array $options
  @throws InvalidServiceOptionsException
docstring_tokens: Will check if the required options are correctly filled .