Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
Example added for a chain configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
arjanvdbos committed Mar 31, 2017
1 parent 1a81043 commit 682bc9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example/full-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [],
],
Expand Down

0 comments on commit 682bc9d

Please sign in to comment.