You are here

public function CacheProvider::setNamespace in Zircon Profile 8

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

Sets the namespace to prefix all cache ids with.

Parameters

string $namespace:

Return value

void

1 call to CacheProvider::setNamespace()
ChainCache::setNamespace in vendor/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 vendor/doctrine/cache/lib/Doctrine/Common/Cache/ChainCache.php
Sets the namespace to prefix all cache ids with.

File

vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php, line 57

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

public function setNamespace($namespace) {
  $this->namespace = (string) $namespace;
  $this->namespaceVersion = null;
}