GearmanTask::functionName
PHP Manual
PHP Manual»GearmanTask»GearmanTask::functionName

GearmanTask::functionName

(PECL gearman >= 0.6.0)

GearmanTask::functionNameGet associated function name

Опис

public function 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.

To Top