Example #1
0
 /**
  *
  */
 public function __construct()
 {
     $this->settings = $this->getSettings();
     $this->redis = $this->setConnection($this->getSettings());
     $this->pipeLine = $this->setRedisQueue($this->redis->pipeline());
     $this->connectToServer();
 }
Example #2
0
 /**
  *
  */
 public function testSetRedisQueueMethod()
 {
     $results = $this->redisCount->setRedisQueue($this->redis->pipeline());
     $this->assertInstanceOf('Predis\\Pipeline\\PipelineContext', $results, '$this->pipeLine is not an instance of the Predis Pipe');
 }