function CacheFactory::setContainer
Same name in other branches
- 11.x core/lib/Drupal/Core/Cache/CacheFactory.php \Drupal\Core\Cache\CacheFactory::setContainer()
Sets the service container.
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheFactory.php, line 52
Class
Namespace
Drupal\Core\CacheCode
public function setContainer(ContainerInterface $container) : void {
$this->container = $container;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.