Php/docs/gearmanclient.construct

来自菜鸟教程
跳转至:导航、​搜索

GearmanClient::__construct

(PECL gearman >= 0.5.0)

GearmanClient::__constructCreate a GearmanClient instance


说明

public GearmanClient::__construct ( )

Creates a GearmanClient instance representing a client that connects to the job server and submits tasks to complete.


参数

此函数没有参数。


返回值

A GearmanClient object.


参见