Event::setPriority
(PECL event >= 1.2.6-beta)
Event::setPriority — Set event priority
说明
public
Event::setPriority(
int
$priority
): boolSet event priority.
参数
-
priority
-
The event priority.
返回值
成功时返回 true
, 或者在失败时返回 false
。
add a note