You are here

public function ChainCache::__construct in Plug 7

Constructor

Parameters

CacheProvider[] $cacheProviders:

File

lib/doctrine/cache/lib/Doctrine/Common/Cache/ChainCache.php, line 39

Class

ChainCache
Cache provider that allows to easily chain multiple cache providers

Namespace

Doctrine\Common\Cache

Code

public function __construct($cacheProviders = array()) {
  $this->cacheProviders = $cacheProviders;
}