PHPDaemon\Clients\GearmanClient\Connection::getStatus PHP Method

getStatus() public method

Get job status
public getStatus ( mixed $jobHandle, callable $cb = null )
$jobHandle mixed Job handle that was given in JOB_CREATED packet.
$cb callable = null
    public function getStatus($jobHandle, $cb = null)
    {
        $this->sendCommand('GET_STATUS', [$jobHandle], $cb);
    }