Overview

Namespaces

  • Webmozart
    • KeyValueStore
      • Api
      • Decorator
      • Util

Interfaces

  • CountableStore
  • KeyValueStore
  • SortableStore

Exceptions

  • InvalidKeyException
  • NoSuchKeyException
  • ReadException
  • SerializationFailedException
  • UnserializationFailedException
  • UnsupportedValueException
  • WriteException
  • Overview
  • Namespace
  • Class

Interface CountableStore

A countable key-value store.

In addition of the properties of a classical store, a countable store has the ability to count its keys.

Webmozart\KeyValueStore\Api\CountableStore implements Webmozart\KeyValueStore\Api\KeyValueStore

Direct known implementers

Webmozart\KeyValueStore\ArrayStore, Webmozart\KeyValueStore\Decorator\CountableDecorator, Webmozart\KeyValueStore\JsonFileStore, Webmozart\KeyValueStore\NullStore

Indirect known implementers

Webmozart\KeyValueStore\SerializingArrayStore
Namespace: Webmozart\KeyValueStore\Api
Since: 1.0
Author: Bernhard Schussek bschussek@gmail.com
Author: Titouan Galopin galopintitouan@gmail.com
Located at Api/CountableStore.php
Methods summary
public
# count( )

Count the number of keys in the store.

Count the number of keys in the store.

Throws

Webmozart\KeyValueStore\Api\ReadException
If the store cannot be read.
Methods inherited from Webmozart\KeyValueStore\Api\KeyValueStore
clear(), exists(), get(), getMultiple(), getMultipleOrFail(), getOrFail(), keys(), remove(), set()
Webmozart Key-Value Store API API documentation generated by ApiGen