GearmanTask::create

(PECL gearman <= 0.5.0)

GearmanTask::createCreate a task (deprecated)

說明

public GearmanTask::create(): GearmanTask|false

Returns a new GearmanTask object.

注意:

This method was removed in the 0.6.0 version of the Gearman extension.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

A GearmanTask oject 或者在失敗時返回 false.