public static function resetHook(string $hook)
    {
        if (isset(self::$hooks[$hook]))
            unset(self::$hooks[$hook]);
        if (isset(self::$counters[$hook]))
            unset(self::$counters[$hook]);
        if (isset(self::$paused[$hook]))
            unset(self::$paused[$hook]);
    }
public static function resetHook(string $hook)
    {
        if (isset(self::$hooks[$hook]))
            unset(self::$hooks[$hook]);
        if (isset(self::$counters[$hook]))
            unset(self::$counters[$hook]);
        if (isset(self::$paused[$hook]))
            unset(self::$paused[$hook]);
    }
public static function resetHook ( string $ hook ) { if ( isset ( self :: $ hooks [ $ hook ] ) ) unset ( self :: $ hooks [ $ hook ] ) ; if ( isset ( self :: $ counters [ $ hook ] ) ) unset ( self :: $ counters [ $ hook ] ) ; if ( isset ( self :: $ paused [ $ hook ] ) ) unset ( self :: $ paused [ $ hook ] ) ; }
Forget about a hook entirely. This will remove all subscribers,
reset the counter to 0 and remove the paused state for the hook.

@param string $hook The hook to forget
Forget about a hook entirely . This will remove all subscribers reset the counter to 0 and remove the paused state for the hook .