public function getAdapters() { if ($this->adapters === null) { $this->adapters = [new PredisCachePool(new Client('tcp:/127.0.0.1:6379')), new ArrayCachePool()]; } return $this->adapters; }