1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,33 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Illuminate\Contracts\Broadcasting; |
|
4 |
- |
|
5 |
-interface Broadcaster |
|
6 |
-{ |
|
7 |
- /** |
|
8 |
- * Authenticate the incoming request for a given channel. |
|
9 |
- * |
|
10 |
- * @param \Illuminate\Http\Request $request |
|
11 |
- * @return mixed |
|
12 |
- */ |
|
13 |
- public function auth($request); |
|
14 |
- |
|
15 |
- /** |
|
16 |
- * Return the valid authentication response. |
|
17 |
- * |
|
18 |
- * @param \Illuminate\Http\Request $request |
|
19 |
- * @param mixed $result |
|
20 |
- * @return mixed |
|
21 |
- */ |
|
22 |
- public function validAuthenticationResponse($request, $result); |
|
23 |
- |
|
24 |
- /** |
|
25 |
- * Broadcast the given event. |
|
26 |
- * |
|
27 |
- * @param array $channels |
|
28 |
- * @param string $event |
|
29 |
- * @param array $payload |
|
30 |
- * @return void |
|
31 |
- */ |
|
32 |
- public function broadcast(array $channels, $event, array $payload = []); |
|
33 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,33 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Illuminate\Contracts\Broadcasting; |
|
4 |
+ |
|
5 |
+interface Broadcaster |
|
6 |
+{ |
|
7 |
+ /** |
|
8 |
+ * Authenticate the incoming request for a given channel. |
|
9 |
+ * |
|
10 |
+ * @param \Illuminate\Http\Request $request |
|
11 |
+ * @return mixed |
|
12 |
+ */ |
|
13 |
+ public function auth($request); |
|
14 |
+ |
|
15 |
+ /** |
|
16 |
+ * Return the valid authentication response. |
|
17 |
+ * |
|
18 |
+ * @param \Illuminate\Http\Request $request |
|
19 |
+ * @param mixed $result |
|
20 |
+ * @return mixed |
|
21 |
+ */ |
|
22 |
+ public function validAuthenticationResponse($request, $result); |
|
23 |
+ |
|
24 |
+ /** |
|
25 |
+ * Broadcast the given event. |
|
26 |
+ * |
|
27 |
+ * @param array $channels |
|
28 |
+ * @param string $event |
|
29 |
+ * @param array $payload |
|
30 |
+ * @return void |
|
31 |
+ */ |
|
32 |
+ public function broadcast(array $channels, $event, array $payload = []); |
|
33 |
+} |