/**
  * Push a raw payload onto the queue.
  *
  * @param  string  $payload
  * @param  string  $queue
  * @param  array   $options
  * @return mixed
  */
 public function pushRaw($payload, $queue = null, array $options = array())
 {
     $this->redis->rpush($this->getQueue($queue), $payload);
     return array_get(json_decode($payload, true), 'id');
 }
예제 #2
0
 /**
  * Push a raw payload onto the queue.
  *
  * @param  string  $payload
  * @param  string  $queue
  * @param  array   $options
  * @return mixed
  */
 public function pushRaw($payload, $queue = null, array $options = array())
 {
     return $this->redis->rpush($this->getQueue($queue), $payload);
 }