protected function CachedContainerBuilder::getCacheId in Service Container 7
Same name and namespace in other branches
- 7.2 src/DependencyInjection/CachedContainerBuilder.php \Drupal\service_container\DependencyInjection\CachedContainerBuilder::getCacheId()
Returns the cache id of the container definition.
@codeCoverageIgnore
Return value
string The hardcoded cache id or via variable_get() if defined.
3 calls to CachedContainerBuilder::getCacheId()
- CachedContainerBuilder::getCache in src/
DependencyInjection/ CachedContainerBuilder.php - Retrieves the cache id of the container definition.
- CachedContainerBuilder::reset in src/
DependencyInjection/ CachedContainerBuilder.php - Reset the internal cache.
- CachedContainerBuilder::setCache in src/
DependencyInjection/ CachedContainerBuilder.php - Caches the builded container definition.
File
- src/
DependencyInjection/ CachedContainerBuilder.php, line 89 - Contains \Drupal\service_container\DependencyInjection\CachedContainerBuilder
Class
- CachedContainerBuilder
- CachedContainerBuilder retrieves the container definition from cache or builds it.
Namespace
Drupal\service_container\DependencyInjectionCode
protected function getCacheId() {
return variable_get('service_container_container_cid', 'service_container:container_definition');
}