/** * Push a job to the paused queue * * @param string $queue * @param string $class * @param array $args * @param string $id */ public function pushPausedJob($queue, $class, array $args, $id) { $this->redis->rpush("temp:{$queue}", json_encode(array('class' => $class, 'args' => $args, 'id' => $id, 'queue_time' => microtime(true)))); }