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
Namespace
Drupal\key_value\KeyValueStoreCode
public function get($collection) {
return new DatabaseStorageSortedSet($collection, $this->serializer, $this->connection);
}