Debian Codegraph @

lib/3rdParty/composer/illuminate/contracts/Broadcasting/Broadcaster.php

raw symbols SCIP
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 * @throws \Illuminate\Broadcasting\BroadcastException
33 */
34 public function broadcast(array $channels, $event, array $payload = []);
35 }