You are here

public function ChainCache::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/ChainCache.php \Doctrine\Common\Cache\ChainCache::__construct()

Constructor

Parameters

CacheProvider[] $cacheProviders:

File

vendor/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;
}