<?php

namespace ZenoChatbot\Services\Indexing\Store;

class IndexEventBus
{
    /** @param array<string,mixed> $context */
    public static function emit(string $hook, array $context): void
    {
        do_action($hook, $context); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores, WordPress.NamingConventions.PrefixAllGlobals.DynamicHooknameFound,
    }
}
