src/RedisQueue.php
public function push(AbstractJob $job)
    {
        if($job->getRunAt() > time()) {
            return $this->addJobToRetrySet($job, $job->getRunAt());
        }

        return (bool)$this->client->rpush(
            $this->getQueueNameWithPrefix($job->getQueue()),
            serialize($job)
        );
    }
public function push(AbstractJob $job)
    {
        if($job->getRunAt() > time()) {
            return $this->addJobToRetrySet($job, $job->getRunAt());
        }

        return (bool)$this->client->rpush(
            $this->getQueueNameWithPrefix($job->getQueue()),
            serialize($job)
        );
    }
public function push ( AbstractJob $ job ) { if ( $ job -> getRunAt ( ) > time ( ) ) { return $ this -> addJobToRetrySet ( $ job , $ job -> getRunAt ( ) ) ; } return ( bool ) $ this -> client -> rpush ( $ this -> getQueueNameWithPrefix ( $ job -> getQueue ( ) ) , serialize ( $ job ) ) ; }
push a job to the queue
@param AbstractJob $job
@return bool
push a job to the queue