Cache\Adapter\Chain\Tests\IntegrationTagTest::getAdapters PHP Method

getAdapters() public method

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