public static function getRegisteredHooks()
    {
        $subscribed = array_keys(self::$hooks);
        $called = array_keys(self::$counters);
        $all = array_merge($subscribed, $called);
        return array_unique($all);
    }
public static function getRegisteredHooks()
    {
        $subscribed = array_keys(self::$hooks);
        $called = array_keys(self::$counters);
        $all = array_merge($subscribed, $called);
        return array_unique($all);
    }
public static function getRegisteredHooks ( ) { $ subscribed = array_keys ( self :: $ hooks ) ; $ called = array_keys ( self :: $ counters ) ; $ all = array_merge ( $ subscribed , $ called ) ; return array_unique ( $ all ) ; }
Get all hooks that either have subscribers or have been executed
@return array The list of hooks that have been called or subscribed to.
Get all hooks that either have subscribers or have been executed