You are here

public function KeyValueDatabaseSortedSetFactory::get in Key-value Extensions 8

Parameters

string $collection:

Return value

\Drupal\key_value\KeyValueStore\KeyValueStoreSortedSetInterface

Overrides KeyValueSortedSetFactoryInterface::get

File

src/KeyValueStore/KeyValueDatabaseSortedSetFactory.php, line 32

Class

KeyValueDatabaseSortedSetFactory

Namespace

Drupal\key_value\KeyValueStore

Code

public function get($collection) {
  return new DatabaseStorageSortedSet($collection, $this->serializer, $this->connection);
}