Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | namespace Illuminate\Contracts\Broadcasting; | ||||
4 | |||||
5 | interface HasBroadcastChannel | ||||
6 | { | ||||
7 | /** | ||||
8 | * Get the broadcast channel route definition that is associated with the given entity. | ||||
9 | * | ||||
10 | * @return string | ||||
11 | */ | ||||
12 | public function broadcastChannelRoute(); | ||||
13 | |||||
14 | /** | ||||
15 | * Get the broadcast channel name that is associated with the given entity. | ||||
16 | * | ||||
17 | * @return string | ||||
18 | */ | ||||
19 | public function broadcastChannel(); | ||||
20 | } |