Defines the key/value store factory for the database backend.
Hierarchy
- class \Drupal\Core\KeyValueStore\KeyValueDatabaseExpirableFactory implements KeyValueExpirableFactoryInterface
File
- core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php, line 11
Namespace
Drupal\Core\KeyValueStore
Members
Name | Modifiers | Type | Description |
---|---|---|---|
KeyValueDatabaseExpirableFactory::$connection | protected | property | The database connection. |
KeyValueDatabaseExpirableFactory::$serializer | protected | property | The serialization class to use. |
KeyValueDatabaseExpirableFactory::$storages | protected | property | Holds references to each instantiation so they can be terminated. |
KeyValueDatabaseExpirableFactory::garbageCollection | public | function | Deletes expired items. |
KeyValueDatabaseExpirableFactory::get | public | function | Constructs a new expirable key/value store for a given collection name. Overrides KeyValueExpirableFactoryInterface::get |
KeyValueDatabaseExpirableFactory::__construct | function | Constructs this factory object. |
Please login to continue.