public function CacheProvider::setNamespace

Set the namespace to prefix all cache ids with.

Parameters

string $namespace:

Return value

void

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/CacheProvider.php, line 53

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

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