blob: 3b2c4018e3892ae78088fde6b3317ae4bdd09c4d [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Illuminate\Contracts\Broadcasting;
4
5interface 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}