src/brokers/RedisBroker.php
public function get()
    {
        do {
            $response = $this->redis->rpop("job_queue");
            usleep(500);
        } while ($response === null);
        return unserialize($response);
    }
public function get()
    {
        do {
            $response = $this->redis->rpop("job_queue");
            usleep(500);
        } while ($response === null);
        return unserialize($response);
    }
public function get ( ) { do { $ response = $ this -> redis -> rpop ( "job_queue" ) ; usleep ( 500 ) ; } while ( $ response === null ) ; return unserialize ( $ response ) ; }
Get the next job on the job queue.

@return mixed Job
Get the next job on the job queue .