src/Hook/FunctionHookManager.php
public function restoreGlobalFunctions(): void
    {
        foreach (self::$hooks as $key => $data) {
            self::$hooks[$key]['callback'] = null;
        }
    }
public function restoreGlobalFunctions(): void
    {
        foreach (self::$hooks as $key => $data) {
            self::$hooks[$key]['callback'] = null;
        }
    }
public function restoreGlobalFunctions ( ) : void { foreach ( self :: $ hooks as $ key => $ data ) { self :: $ hooks [ $ key ] [ 'callback' ] = null ; } }
Effectively removes any function hooks for functions in the global
namespace.
Effectively removes any function hooks for functions in the global namespace .