static function CacheManager::create in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/CacheManager/CacheManager.php \Drupal\xautoload\CacheManager\CacheManager::create()
This method has side effects, so it is not the constructor.
Return value
1 call to CacheManager::create()
- ServiceFactory::cacheManager in lib/
DIC/ ServiceFactory.php
File
- lib/
CacheManager/ CacheManager.php, line 31
Class
Namespace
Drupal\xautoload\CacheManagerCode
static function create() {
$prefix = variable_get('xautoload_cache_prefix', NULL);
$manager = new self($prefix);
if (empty($prefix)) {
$manager
->renewCachePrefix();
}
return $manager;
}