Service/GearmanClient.php
public function getJobStatus($idJob)
    {
        $gearmanClient = $this->getNativeClient();
        $this->assignServers($gearmanClient);
        $statusData = $gearmanClient->jobStatus($idJob);

        $jobStatus = new JobStatus($statusData);

        $this->gearmanClient = null;

        return $jobStatus;
    }
public function getJobStatus($idJob)
    {
        $gearmanClient = $this->getNativeClient();
        $this->assignServers($gearmanClient);
        $statusData = $gearmanClient->jobStatus($idJob);

        $jobStatus = new JobStatus($statusData);

        $this->gearmanClient = null;

        return $jobStatus;
    }
public function getJobStatus ( $ idJob ) { $ gearmanClient = $ this -> getNativeClient ( ) ; $ this -> assignServers ( $ gearmanClient ) ; $ statusData = $ gearmanClient -> jobStatus ( $ idJob ) ; $ jobStatus = new JobStatus ( $ statusData ) ; $ this -> gearmanClient = null ; return $ jobStatus ; }
Fetches the Status of a special Background Job.

@param string $idJob The job handle string

@return JobStatus Job status
Fetches the Status of a special Background Job .