/** * @param string $event */ public function addEvent($event) { $this->redis->rpush($this->key, Encoder::encode(Event::now($event))); }