public function setRedis(\PHPDaemon\Clients\Redis\Pool $redis) { $this->redis = $redis; return $this; }