Overview

Namespaces

  • Webmozart
    • KeyValueStore
      • Api
      • Decorator
      • Util

Classes

  • AbstractRedisStore
  • ArrayStore
  • DbalStore
  • JsonFileStore
  • MongoDbStore
  • NullStore
  • PhpRedisStore
  • PredisStore
  • RiakStore
  • SerializingArrayStore
  • Overview
  • Namespace
  • Class

Class SerializingArrayStore

A key-value store backed by a PHP array with serialized entries.

The contents of the store are lost when the store is released from memory.

This store behaves more like persistent key-value stores than Webmozart\KeyValueStore\ArrayStore. It is useful for testing.

Webmozart\KeyValueStore\ArrayStore implements Webmozart\KeyValueStore\Api\SortableStore, Webmozart\KeyValueStore\Api\CountableStore
Extended by Webmozart\KeyValueStore\SerializingArrayStore
Namespace: Webmozart\KeyValueStore
Since: 1.0
Author: Bernhard Schussek bschussek@gmail.com
Deprecated:

Deprecated as of version 1.0, will be removed in version 2.0. Use the ArrayStore with the SERIALIZE flag instead.


Located at SerializingArrayStore.php
Methods summary
public
# __construct( array $array = array() )

Creates a new store.

Creates a new store.

Parameters

$array
The values to set initially in the store.

Overrides

Webmozart\KeyValueStore\ArrayStore::__construct()
Methods inherited from Webmozart\KeyValueStore\ArrayStore
clear(), count(), exists(), get(), getMultiple(), getMultipleOrFail(), getOrFail(), keys(), remove(), set(), sort(), toArray()
Constants inherited from Webmozart\KeyValueStore\ArrayStore
SERIALIZE
Webmozart Key-Value Store API API documentation generated by ApiGen