/** * @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()); }
/** * @inheritdoc */ public function __construct(ClientInterface $redis, $name, $options = []) { parent::__construct($redis, $name, $options); $this->clientID = sprintf('%s[%d][%d]', gethostname(), getmypid(), time()); }