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