File tree 1 file changed +35
-4
lines changed
1 file changed +35
-4
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
-
3
- /*
4
- * To change this template, choose Tools | Templates
5
- * and open the template in the editor.
2
+ /**
3
+ * Helper autocomplete for php redis extension
4
+ * @author Max Kamashev <[email protected] >
5
+ * @link https://github.com/ukko/phpredis-phpdoc
6
6
*/
7
7
class Redis
8
8
{
9
9
const AFTER = '' ;
10
10
const BEFORE = '' ;
11
+
12
+ /**
13
+ * Options
14
+ */
15
+ const OPT_SERIALIZER = 1 ;
16
+ const OPT_PREFIX = 2 ;
17
+
18
+ /**
19
+ * Serializers
20
+ */
21
+ const SERIALIZER_NONE = 0 ;
22
+ const SERIALIZER_PHP = 1 ;
23
+ const SERIALIZER_IGBINARY = 2 ;
24
+
25
+ /**
26
+ * Multi
27
+ */
28
+ const MULTI = '' ;
29
+ const PIPELINE = '' ;
30
+
31
+ /**
32
+ * Type
33
+ */
34
+ const REDIS_NOT_FOUND = 0 ;
35
+ const REDIS_STRING = 1 ;
36
+ const REDIS_SET = 2 ;
37
+ const REDIS_LIST = 3 ;
38
+ const REDIS_ZSET = 4 ;
39
+ const REDIS_HASH = 5 ;
40
+
41
+
11
42
/**
12
43
* Creates a Redis client
13
44
*
You can’t perform that action at this time.
0 commit comments