Свойство | Тип | Описание | |
---|---|---|---|
$hooks |
Метод | Описание | |
---|---|---|
__construct ( |
Construct a new function hook manager. | |
defineFunction ( string $name, string $namespace, callable $callback ) : callback | null | Define the behavior of a function hook. | |
instance ( ) : |
Get the static instance of this manager. | |
restoreGlobalFunctions ( ) | Effectively removes any function hooks for functions in the global namespace. |
public __construct ( |
||
$signatureInspector | The function signature inspector to use. | |
$hookGenerator | The function hook generator to use. |
public static instance ( ) : |
||
Результат | The static manager. |
public restoreGlobalFunctions ( ) |