public function getRedis() { if (empty($this->redis)) { $this->redis = $this->getContainer()->get(Redis::class, [null, ['site' => $this]]); } return $this->redis; }