GearmanClient::setContext

Set application context

説明

public bool GearmanClient::setContext(string $data)

Sets an arbitrary string to provide application context that can later be retrieved by GearmanClient::context.

パラメータ

data

Arbitrary context data

戻り値

Always returns true.

参考

  • GearmanClient::context