You are here

class KeyValueExpirableFactory in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php \Drupal\Core\KeyValueStore\KeyValueExpirableFactory

Defines the key/value store factory.

Hierarchy

Expanded class hierarchy of KeyValueExpirableFactory

1 file declares its use of KeyValueExpirableFactory
TempStoreDatabaseTest.php in core/modules/user/src/Tests/TempStoreDatabaseTest.php
Contains \Drupal\user\Tests\TempStoreDatabaseTest.
1 string reference to 'KeyValueExpirableFactory'
core.services.yml in core/core.services.yml
core/core.services.yml
1 service uses KeyValueExpirableFactory
keyvalue.expirable in core/core.services.yml
Drupal\Core\KeyValueStore\KeyValueExpirableFactory

File

core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php, line 13
Contains \Drupal\Core\KeyValueStore\KeyValueExpirableFactory.

Namespace

Drupal\Core\KeyValueStore
View source
class KeyValueExpirableFactory extends KeyValueFactory implements KeyValueExpirableFactoryInterface {
  const DEFAULT_SERVICE = 'keyvalue.expirable.database';
  const SPECIFIC_PREFIX = 'keyvalue_expirable_service_';
  const DEFAULT_SETTING = 'keyvalue_expirable_default';

}

Members

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