From 682bc9d2619add595fd16f19f9b44a9bfa32c3f8 Mon Sep 17 00:00:00 2001 From: Arjan van den Bos Date: Fri, 31 Mar 2017 17:09:06 +0200 Subject: [PATCH] Example added for a chain configuration --- example/full-config.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/example/full-config.php b/example/full-config.php index a6fab39..0adbfee 100644 --- a/example/full-config.php +++ b/example/full-config.php @@ -112,6 +112,11 @@ 'class' => \Doctrine\Common\Cache\ZendDataCache::class, 'namespace' => 'container-interop-doctrine', ], + 'chain' => [ + 'class' => \Doctrine\Common\Cache\ChainCache::class, + 'providers' => ['array', 'redis'], // you can use any provider listed above + 'namespace' => 'container-interop-doctrine', // will be applied to all providers in the chain + ], ], 'types' => [], ],