KeyValueDatabaseFactory
class KeyValueDatabaseFactory implements KeyValueFactoryInterface (View source)
Defines the key/value store factory for the database backend.
Properties
| protected SerializationInterface | $serializer | The serialization class to use. |
|
| protected Connection | $connection | The database connection to use. |
Methods
__construct(SerializationInterface $serializer, Connection $connection)
Constructs this factory object.
get(string $collection)
Constructs a new key/value store for a given collection name.
Details
__construct(SerializationInterface $serializer, Connection $connection)
Constructs this factory object.
KeyValueStoreInterface
get(string $collection)
Constructs a new key/value store for a given collection name.