Constructs a new key/value expirable database storage object for a given collection name.
string $collection: The name of the collection holding key and value pairs.
\Drupal\Core\Database\Connection $connection: The connection to run against.
\Drupal\Core\KeyValueStore\DatabaseStorageExpirable A key/value store implementation for the given $collection.
Overrides KeyValueDatabaseFactory::get
public function get($collection) {
return new DatabaseStorageExpirable($collection, $this->connection);
}