protected function getRedis() { if (null === static::$redis) { static::$redis = static::getProducer()->getRedis(); } return static::$redis; }