CakeFest 2024: The Official CakePHP Conference

GearmanTask::functionName

(PECL gearman >= 0.6.0)

GearmanTask::functionNameGet associated function name

说明

public GearmanTask::functionName(): false|string

Returns the name of the function this task is associated with, i.e., the function the Gearman worker calls.

参数

此函数没有参数。

返回值

A function name, or false if the task has not yet been created.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top