function CacheFactory::setContainer

Same name in other branches
  1. 10 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

CacheFactory

Namespace

Drupal\Core\Cache

Code

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.