Ejemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function __construct(ClientInterface $redis, $name, $options = [], Time $time = null)
 {
     parent::__construct($redis, $name, $options, $time);
     $this->clientID = sprintf('%s[%d][%d]', gethostname(), getmypid(), $this->time->now());
 }
Ejemplo n.º 2
0
 /**
  * @inheritdoc
  */
 public function __construct(ClientInterface $redis, $name, $options = [])
 {
     parent::__construct($redis, $name, $options);
     $this->clientID = sprintf('%s[%d][%d]', gethostname(), getmypid(), time());
 }