public static function getComponentsUsingHook(string $hookId): array
    {
        $componentsUsingHook = array();
        
        $components = self::getComponents();
        foreach ($components as $component) {
            if (!$component->hasHookWithId($hookId)) {
                continue;
            }
            
            $componentsUsingHook[] = $component;
        }
        
        return $componentsUsingHook;
    }