GearmanClient::context

(PECL gearman >= 0.6.0)

GearmanClient::contextGet the application context

Description

public GearmanClient::context ( ) : string

Get the application context previously set with GearmanClient::setContext().

Parameters

This function has no parameters.

Return Values

The same context data structure set with GearmanClient::setContext()

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmanclient.context.php