KeyValueFactory::$container

Same name in other branches
  1. 9 core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php \Drupal\Core\KeyValueStore\KeyValueFactory::container
  2. 8.9.x core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php \Drupal\Core\KeyValueStore\KeyValueFactory::container
  3. 11.x core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php \Drupal\Core\KeyValueStore\KeyValueFactory::container

The service container.

Type: \Symfony\Component\DependencyInjection\ContainerInterface

File

core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php, line 47

Class

KeyValueFactory
Defines the key/value store factory.

Namespace

Drupal\Core\KeyValueStore

Code

protected $container;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.