From a53e93fa3ed5a51f15db688bcca97a7012018dfd Mon Sep 17 00:00:00 2001 From: Ilya Chekalskiy Date: Mon, 4 Jan 2016 05:50:56 +0300 Subject: [PATCH] Remove IStorage --- README.md | 2 +- src/IStorage.php | 9 --------- src/Reviewer.php | 4 ++-- 3 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 src/IStorage.php diff --git a/README.md b/README.md index ff2ab06..35dedc7 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ require 'vendor/autoload.php'; ``` ### Simple usage -You should use external database to store already sent reviews. We advice Redis with [Predis](https://github.com/nrk/predis) library. Library should implement `IStorage` interface. +You should use external database to store already sent reviews. We advice Redis with [Predis](https://github.com/nrk/predis) library. Library should implement `sismember`, `sadd`, `exists` and `set` methods. You need to [create new Incoming webhook](https://slack.com/services/new/incoming-webhook) in Slack and change `{APPID}` with [the real app id](https://www.codeproof.com/blog/how-to-find-aitunes-store-id-or-appid/): diff --git a/src/IStorage.php b/src/IStorage.php deleted file mode 100644 index 8a7b817..0000000 --- a/src/IStorage.php +++ /dev/null @@ -1,9 +0,0 @@ -storage = $storage;