original_string: protected function checkUnknownOptions(array $options)
      {
          $unsupportedOptions = array_diff_key($options, $this->supportedOptions);
  
          if ([] !== ($unsupportedOptions)) {
              throw new InvalidServiceOptionsException(
                  'Unsupported validation option(s) found: ' . implode(', ', array_keys($unsupportedOptions)),
                  1456397655
              );
          }
      }
code: protected function checkUnknownOptions(array $options)
      {
          $unsupportedOptions = array_diff_key($options, $this->supportedOptions);
  
          if ([] !== ($unsupportedOptions)) {
              throw new InvalidServiceOptionsException(
                  'Unsupported validation option(s) found: ' . implode(', ', array_keys($unsupportedOptions)),
                  1456397655
              );
          }
      }
code_tokens: protected function checkUnknownOptions ( array $ options ) { $ unsupportedOptions = array_diff_key ( $ options , $ this -> supportedOptions ) ; if ( [ ] !== ( $ unsupportedOptions ) ) { throw new InvalidServiceOptionsException ( 'Unsupported validation option(s) found: ' . implode ( ', ' , array_keys ( $ unsupportedOptions ) ) , 1456397655 ) ; } }
docstring: Checks if an unknown option exists in the given options array.
  
  @param array $options
  @throws InvalidServiceOptionsException
docstring_tokens: Checks if an unknown option exists in the given options array .