2017 © Pedro Peláez
 

library key-value-store-null

Key-value null store package. It literally does nothing.

image

adammbalogh/key-value-store-null

Key-value null store package. It literally does nothing.

  • Monday, October 20, 2014
  • by adammbalogh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3,564 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 34 % Grown

The README.md

Key Value Null Store

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads, (*1)

SensioLabsInsight, (*2)

Description

This library provides a layer to a key value null store., (*3)

It does not use a third party package. It literally does nothing., (*4)

Check out the abstract library to see the other adapters and the Api., (*5)

Installation

Install it through composer., (*6)

{
    "require": {
        "adammbalogh/key-value-store-null": "@stable"
    }
}

tip: you should browse the adammbalogh/key-value-store-null page to choose a stable version to use, avoid the @stable meta constraint., (*7)

Usage

<?php
use AdammBalogh\KeyValueStore\KeyValueStore;
use AdammBalogh\KeyValueStore\Exception\KeyNotFoundException;
use AdammBalogh\KeyValueStore\Adapter\NullAdapter as Adapter;

$adapter = new Adapter();

$kvs = new KeyValueStore($adapter);

$kvs->set('sample_key', 'Sample value');
try {
    $kvs->get('sample_key');
} catch (KeyNotFoundException $e) {
    // null adapter's get method throws KeyNotFoundException
}
$kvs->delete('sample_key');

API

Please visit the API link in the abstract library., (*8)

Toolset

Key Value Server
✔ delete ✔ get ✔ flush
✔ expire ✔ set
✔ getTtl
✔ has
✔ persist

Support

Support with Gittip, (*9)

The Versions

20/10 2014

dev-master

9999999-dev

Key-value null store package. It literally does nothing.

  Sources   Download

MIT

The Requires

 

The Development Requires

nosql store key value key-value null key-value-null

20/10 2014

0.5.1

0.5.1.0

Key-value null store package. It literally does nothing.

  Sources   Download

MIT

The Requires

 

The Development Requires

nosql store key value key-value null key-value-null

16/10 2014

0.5.0

0.5.0.0

Key-value null store package. It literally does nothing.

  Sources   Download

MIT

The Requires

 

The Development Requires

nosql store key value key-value null key-value-null

13/10 2014

0.4.0

0.4.0.0

Key-value null store package. It literally does nothing.

  Sources   Download

MIT

The Requires

 

The Development Requires

nosql store key value key-value null key-value-null