Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | abstract class Event extends BaseTask |
||
8 | { |
||
9 | use SerializesModels; |
||
10 | |||
11 | /** |
||
12 | * The listeners for this event. |
||
13 | * @return array |
||
14 | */ |
||
15 | protected $listeners = []; |
||
16 | |||
17 | /** |
||
18 | * Get the listener list for this event. |
||
19 | * @return array |
||
20 | */ |
||
21 | public function getListeners() |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Trigger an event |
||
28 | * @param Event $event |
||
29 | * @return bool |
||
30 | */ |
||
31 | public static function fire(self $event) |
||
34 | } |
||
35 | } |