function ChainedFastBackendFactory::setContainer

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php \Drupal\Core\Cache\ChainedFastBackendFactory::setContainer()

Sets the service container.

File

core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php, line 38

Class

ChainedFastBackendFactory
Defines the chained fast cache backend factory.

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.