Просмотр исходного кода

Add a VERSION constant to Predis\Client.

Daniele Alessandri 14 лет назад
Родитель
Сommit
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) {