public function push($class, $args = [], $retry = true, $queue = self::QUEUE)
    {
        $jobId = $this->idGenerator->generate();
        $this->atomicPush($jobId, $class, $args, $queue, $retry);

        return $jobId;
    }
public function push($class, $args = [], $retry = true, $queue = self::QUEUE)
    {
        $jobId = $this->idGenerator->generate();
        $this->atomicPush($jobId, $class, $args, $queue, $retry);

        return $jobId;
    }
public function push ( $ class , $ args = [ ] , $ retry = true , $ queue = self :: QUEUE ) { $ jobId = $ this -> idGenerator -> generate ( ) ; $ this -> atomicPush ( $ jobId , $ class , $ args , $ queue , $ retry ) ; return $ jobId ; }
Push a job

@param string $class
@param array  $args
@param bool   $retry
@param string $queue
@return string
Push a job