(PECL gearman >= 0.5.0)
Represents a class for connecting to a Gearman job server and making requests to perform some function on provided data. The function performed must be one registered by a Gearman worker and the data passed is opaque to the job server.
$option
$host
null
$port
$setupExceptionHandler
true
$servers
$function_name
$workload
$context
$unique_key
$job_handle
$function
$unique
$callback
$data
$timeout