Bladeren bron

Add a VERSION constant to Predis\Client.

Daniele Alessandri 14 jaren geleden
bovenliggende
commit
9f1f07083a
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  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) {