GearmanClient::setData

(PECL gearman <= 0.5.0)
Set application data (deprecated)
public bool GearmanClient::setData ( string $data )

Sets some arbitrary application data that can later be retrieved by GearmanClient::data().

Note:

This method has been replaced by GearmanCient::setContext() in the 0.6.0 release of the Gearman extension.

Parameters:
data

Sets some arbitrary application data that can later be retrieved by GearmanClient::data().

Note:

This method has been replaced by GearmanCient::setContext() in the 0.6.0 release of the Gearman extension.

Returns:

Always returns TRUE.

See also:

GearmanClient::data() -

doc_php
2016-02-24 16:08:52
Comments
Leave a Comment

Please login to continue.