public function ChainCache::setNamespace in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/ChainCache.php \Doctrine\Common\Cache\ChainCache::setNamespace()
Sets the namespace to prefix all cache ids with.
Parameters
string $namespace:
Return value
void
Overrides CacheProvider::setNamespace
File
- vendor/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ ChainCache.php, line 47
Class
- ChainCache
- Cache provider that allows to easily chain multiple cache providers
Namespace
Doctrine\Common\CacheCode
public function setNamespace($namespace) {
parent::setNamespace($namespace);
foreach ($this->cacheProviders as $cacheProvider) {
$cacheProvider
->setNamespace($namespace);
}
}