You are here

function KeyValueDatabaseListFactory::__construct in Key-value Extensions 8

Parameters

\Drupal\Component\Serialization\SerializationInterface $serializer:

\Drupal\Core\Database\Connection $connection:

File

src/KeyValueStore/KeyValueDatabaseListFactory.php, line 24

Class

KeyValueDatabaseListFactory

Namespace

Drupal\key_value\KeyValueStore

Code

function __construct(SerializationInterface $serializer, Connection $connection) {
  $this->serializer = $serializer;
  $this->connection = $connection;
}