« Swoole\Runtime::getHookFlags
Swoole\Serialize »

Swoole\Runtime::setHookFlags

(No version information available, might only be in Git)

Swoole\Runtime::setHookFlags — Set hook flags for coroutine

説明

public static function Swoole\Runtime::setHookFlags(int $flags): bool

Sets the hook flags for coroutine support. This dynamically changes the hook flags at runtime.

パラメータ

flags

Bitmask of flags specifying which functions to hook. Same flags as enableCoroutine.

戻り値

成功した場合に true を、失敗した場合に false を返します。

関連キーワード:
flags   hook   Swoole   Runtime   coroutine   setHookFlags   getHookFlags   Serialize   information   available   static   Sets   support   dynamically   changes   runtime   Bitmask   specifying   functions   enableCoroutine   成功
関連する関数・ページ:
class.swoole-runtime   swoole-runtime.get-hook-flags   swoole-runtime.enable-coroutine   function.uopz-set-hook   function.uopz-get-hook   function.uopz-unset-hook