1 | <?php |
||
9 | class Broadcast implements BroadcastNotifiableInterface, NotifiableInterface, SlackableInterface, PusherableInterface |
||
10 | { |
||
11 | protected $slackWebhook; |
||
12 | protected $pusherChannel; |
||
13 | protected $subscribedChannels = [ |
||
14 | 'slack', |
||
15 | 'pusher', |
||
16 | ]; |
||
17 | |||
18 | public function setSlackWebhook($webhook) |
||
22 | |||
23 | public function getSlackWebhook() |
||
27 | |||
28 | public function setPusherChannel($pusherChannel) |
||
32 | |||
33 | public function getPusherChannel() |
||
37 | |||
38 | public function getSubscribedChannels() |
||
42 | |||
43 | public function isSubscribedToChannel($channel) |
||
47 | |||
48 | public function getPusherChannelSuffix() |
||
52 | } |