1 | <?php |
||
9 | class OkEvent extends Event |
||
10 | { |
||
11 | use SerializesModels; |
||
12 | |||
13 | /** |
||
14 | * @var Company |
||
15 | */ |
||
16 | private $company; |
||
17 | |||
18 | /** |
||
19 | * OkEvent constructor. |
||
20 | * @param Company $company |
||
21 | */ |
||
22 | 6 | public function __construct(Company $company) |
|
26 | |||
27 | /** |
||
28 | * @return Company |
||
29 | */ |
||
30 | 6 | public function getCompany() |
|
34 | |||
35 | /** |
||
36 | * Get the channels the event should be broadcast on. |
||
37 | * |
||
38 | * @return array |
||
39 | */ |
||
40 | public function broadcastOn() |
||
44 | } |
||
45 |