Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

Application modulaire fonctionnelle !

Emmanuel ROY authored on 12/08/2019 15:10:25
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,35 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Contracts\Redis;
4
-
5
-use Closure;
6
-
7
-interface Connection
8
-{
9
-    /**
10
-     * Subscribe to a set of given channels for messages.
11
-     *
12
-     * @param  array|string  $channels
13
-     * @param  \Closure  $callback
14
-     * @return void
15
-     */
16
-    public function subscribe($channels, Closure $callback);
17
-
18
-    /**
19
-     * Subscribe to a set of given channels with wildcards.
20
-     *
21
-     * @param  array|string  $channels
22
-     * @param  \Closure  $callback
23
-     * @return void
24
-     */
25
-    public function psubscribe($channels, Closure $callback);
26
-
27
-    /**
28
-     * Run a command against the Redis database.
29
-     *
30
-     * @param  string  $method
31
-     * @param  array  $parameters
32
-     * @return mixed
33
-     */
34
-    public function command($method, array $parameters = []);
35
-}
Browse code

initial commit

Emmanuel ROY authored on 09/08/2019 08:39:02
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,35 @@
1
+<?php
2
+
3
+namespace Illuminate\Contracts\Redis;
4
+
5
+use Closure;
6
+
7
+interface Connection
8
+{
9
+    /**
10
+     * Subscribe to a set of given channels for messages.
11
+     *
12
+     * @param  array|string  $channels
13
+     * @param  \Closure  $callback
14
+     * @return void
15
+     */
16
+    public function subscribe($channels, Closure $callback);
17
+
18
+    /**
19
+     * Subscribe to a set of given channels with wildcards.
20
+     *
21
+     * @param  array|string  $channels
22
+     * @param  \Closure  $callback
23
+     * @return void
24
+     */
25
+    public function psubscribe($channels, Closure $callback);
26
+
27
+    /**
28
+     * Run a command against the Redis database.
29
+     *
30
+     * @param  string  $method
31
+     * @param  array  $parameters
32
+     * @return mixed
33
+     */
34
+    public function command($method, array $parameters = []);
35
+}