public function CacheProvider::setNamespace in Plug 7
Sets the namespace to prefix all cache ids with.
Parameters
string $namespace:
Return value
void
1 call to CacheProvider::setNamespace()
- ChainCache::setNamespace in lib/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ ChainCache.php - Sets the namespace to prefix all cache ids with.
1 method overrides CacheProvider::setNamespace()
- ChainCache::setNamespace in lib/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ ChainCache.php - Sets the namespace to prefix all cache ids with.
File
- lib/
doctrine/ cache/ lib/ Doctrine/ Common/ Cache/ CacheProvider.php, line 57
Class
- CacheProvider
- Base class for cache provider implementations.
Namespace
Doctrine\Common\CacheCode
public function setNamespace($namespace) {
$this->namespace = (string) $namespace;
$this->namespaceVersion = null;
}