GearmanClient
PHP Manual

GearmanClient::setContext

(PECL gearman >= 0.6.0)

GearmanClient::setContextSet application context

Descrizione

public bool GearmanClient::setContext ( string $context )

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

Elenco dei parametri

context

Arbitrary context data

Valori restituiti

Always returns TRUE.

Vedere anche:


GearmanClient
PHP Manual