# GearmanJob::functionName

(PECL gearman >= 0.5.0)

GearmanJob::functionName — Get function name

### Description

public GearmanJob::functionName ( ) : string

Returns the function name for this job. This is the function the work will execute to perform the job.

### Parameters

This function has no parameters.

### Return Values

The name of a function.

### See Also

- GearmanTask::function() - Get associated function name (deprecated)