W3cubDocs

/Drupal 8

class KeyValueDatabaseExpirableFactory

Defines the key/value store factory for the database backend.

Hierarchy

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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!KeyValueStore!KeyValueDatabaseExpirableFactory.php/class/KeyValueDatabaseExpirableFactory/8.1.x