You are here

class KeyValueFactory in Service Container 7.2

Same name in this branch
  1. 7.2 src/KeyValueStore/KeyValueFactory.php \Drupal\service_container\KeyValueStore\KeyValueFactory
  2. 7.2 lib/Drupal/Core/KeyValueStore/KeyValueFactory.php \Drupal\Core\KeyValueStore\KeyValueFactory
Same name and namespace in other branches
  1. 7 src/KeyValueStore/KeyValueFactory.php \Drupal\service_container\KeyValueStore\KeyValueFactory

Overrides the core KV factory to use the 'service_container' container.

@codeCoverageIgnore

Hierarchy

Expanded class hierarchy of KeyValueFactory

File

src/KeyValueStore/KeyValueFactory.php, line 18
Contains \Drupal\service_container\KeyValueStore\KeyValueFactory.

Namespace

Drupal\service_container\KeyValueStore
View source
class KeyValueFactory extends BaseKeyValueFactory {

}

Members

Namesort descending Modifiers Type Description Overrides
KeyValueFactory::$container protected property var \Symfony\Component\DependencyInjection\ContainerInterface
KeyValueFactory::$stores protected property Instantiated stores, keyed by collection name.
KeyValueFactory::DEFAULT_SERVICE constant The default service id. 2
KeyValueFactory::DEFAULT_SETTING constant The default setting name. 2
KeyValueFactory::get public function Constructs a new key/value store for a given collection name. Overrides KeyValueFactoryInterface::get
KeyValueFactory::SPECIFIC_PREFIX constant The specific setting name prefix. 2
KeyValueFactory::__construct function