public function complete()
    {
        $this->stopped();

        $this->setStatus(Job::STATUS_COMPLETE);

        $this->redis->zadd(Queue::redisKey($this->queue, 'processed'), time(), $this->payload);
        Stats::incr('processed', 1);
        Stats::incr('processed', 1, Queue::redisKey($this->queue, 'stats'));

        Event::fire(Event::JOB_COMPLETE, $this);
    }
public function complete()
    {
        $this->stopped();

        $this->setStatus(Job::STATUS_COMPLETE);

        $this->redis->zadd(Queue::redisKey($this->queue, 'processed'), time(), $this->payload);
        Stats::incr('processed', 1);
        Stats::incr('processed', 1, Queue::redisKey($this->queue, 'stats'));

        Event::fire(Event::JOB_COMPLETE, $this);
    }
public function complete ( ) { $ this -> stopped ( ) ; $ this -> setStatus ( Job :: STATUS_COMPLETE ) ; $ this -> redis -> zadd ( Queue :: redisKey ( $ this -> queue , 'processed' ) , time ( ) , $ this -> payload ) ; Stats :: incr ( 'processed' , 1 ) ; Stats :: incr ( 'processed' , 1 , Queue :: redisKey ( $ this -> queue , 'stats' ) ) ; Event :: fire ( Event :: JOB_COMPLETE , $ this ) ; }
Mark the current job as complete
Mark the current job as complete