koel/app/Events/Event.php

17 lines
236 B
PHP
Raw Normal View History

2015-12-13 12:42:28 +08:00
<?php
namespace App\Events;
abstract class Event
{
2018-08-19 11:05:33 +02:00
/**
* Get the channels the event should be broadcast on.
*
2020-12-22 21:11:22 +01:00
* @return array<mixed>
2018-08-19 11:05:33 +02:00
*/
2020-12-22 21:11:22 +01:00
public function broadcastOn(): array
2018-08-19 11:05:33 +02:00
{
return [];
}
2015-12-13 12:42:28 +08:00
}