Rename command class for scripting to Predis\Command\ScriptCommand.

We also changed our wording to indentify this kind of abstraction so
instead of using "scripted commands" (kind of broken English) we now
use "scriptable commands".
This commit is contained in:
Daniele Alessandri
2013-11-30 12:43:21 +01:00
parent 980edf2f7b
commit 09895f27bf
13 changed files with 55 additions and 51 deletions
+7 -6
View File
@@ -13,14 +13,15 @@ require 'SharedConfigurations.php';
// This example will not work with versions of Redis < 2.6.
//
// Additionally to the EVAL command defined in the current development profile, the new
// Predis\Command\ScriptedCommand base class can be used to build an higher abstraction
// for our "scripted" commands so that they will appear just like any other command on
// the client-side. This is a quick example used to implement INCREX.
// Additionally to the EVAL command defined in the current development profile,
// the Predis\Command\ScriptCommand class can be used to build an higher level
// abstraction for "scriptable" commands so that they will appear just like any
// other command on the client-side. This is a quick example used to implement
// INCREX.
use Predis\Command\ScriptedCommand;
use Predis\Command\ScriptCommand;
class IncrementExistingKeysBy extends ScriptedCommand
class IncrementExistingKeysBy extends ScriptCommand
{
public function getKeysCount()
{