Overview

Namespaces

  • Webmozart
    • KeyValueStore
      • Api
      • Decorator
      • Util

Classes

  • KeyUtil
  • Serializer
  • Overview
  • Namespace
  • Class

Class KeyUtil

Utility methods for dealing with key-value store keys.

Final
Namespace: Webmozart\KeyValueStore\Util
Since: 1.0
Author: Bernhard Schussek bschussek@gmail.com
Located at Util/KeyUtil.php
Methods summary
public static
# validate( mixed $key )

Validates that a key is valid.

Validates that a key is valid.

Parameters

$key
The tested key.

Throws

Webmozart\KeyValueStore\Api\InvalidKeyException
If the key is invalid.
public static
# validateMultiple( array $keys )

Validates that multiple keys are valid.

Validates that multiple keys are valid.

Parameters

$keys
The tested keys.

Throws

Webmozart\KeyValueStore\Api\InvalidKeyException
If a key is invalid.
Webmozart Key-Value Store API API documentation generated by ApiGen