Swoole\Runtime::getHookFlags
PHP function
Edit on GitHub ✎
Get current hook flags
Description
Swoole\Runtime::getHookFlags(): int
Gets the current hook flags. Note that the returned flags might differ from what was set if some hooks failed.
Parameters
This function has no parameters.
Return Values
Returns the current hook flags as a bitmask.