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
            );
        }
    }
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
            );
        }
    }
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 ) ; } }
Checks if an unknown option exists in the given options array.

@param array $options
@throws InvalidServiceOptionsException
Checks if an unknown option exists in the given options array .