Ver código fonte

Add a VERSION constant to Predis\Client.

Daniele Alessandri 14 anos atrás
pai
commit
9f1f07083a
1 arquivos alterados com 1 adições e 0 exclusões
  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) {