public static function getSubscribers(string $hook)
    {
        if (!isset(self::$hooks[$hook]))
            return array();

        $subs = [];
        foreach (self::$hooks[$hook] as $h)
            $subs[] = $h['callback'];

        return $subs;
    }