uopz_get_hook
PECL uopz 5, PECL uopz 6, PECL uopz 7
uopz_get_hook - Gets previously set hook on function or method
Manual
uopz_get_hook(
string$function ): Closure
Closureuopz_get_hook
stringclass
stringfunction
Parameters
- class
-
The name of the class.
- function
-
The name of the function or method.
Return Values
Returns the previously set hook on a function or method, or null if no hook has been set.