浏览代码

Add a VERSION constant to Predis\Client.

Daniele Alessandri 14 年之前
父节点
当前提交
9f1f07083a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/Predis.php

+ 1 - 0
lib/Predis.php

@@ -28,6 +28,7 @@ class MalformedServerResponse extends CommunicationException { }    // Unexpecte
 /* ------------------------------------------------------------------------- */
 
 class Client {
+    const VERSION = '0.6.6-dev';
     private $_options, $_connection, $_serverProfile, $_responseReader;
 
     public function __construct($parameters = null, $clientOptions = null) {