public static function validateJsonConfiguration(array $json) : void
    {
        foreach (HookUtil::getValidHooks() as $hook => $class) {
            if (isset($json[$hook])) {
                self::validateHookConfig($json[$hook]);
            }
        }
    }
public static function validateJsonConfiguration(array $json) : void
    {
        foreach (HookUtil::getValidHooks() as $hook => $class) {
            if (isset($json[$hook])) {
                self::validateHookConfig($json[$hook]);
            }
        }
    }
public static function validateJsonConfiguration ( array $ json ) : void { foreach ( HookUtil :: getValidHooks ( ) as $ hook => $ class ) { if ( isset ( $ json [ $ hook ] ) ) { self :: validateHookConfig ( $ json [ $ hook ] ) ; } } }
Validate a configuration

@param  array $json
@return void
@throws \RuntimeException
Validate a configuration