Respect\Validation\Rules\KeySet::checkKeys PHP Method

checkKeys() private method

private checkKeys ( $input )
    private function checkKeys($input)
    {
        if (!$this->hasValidStructure($input)) {
            $params = ['keys' => $this->getKeys()];
            $exception = $this->reportError($input, $params);
            throw $exception;
        }
    }