1 | <?php |
||
13 | class AirtimeTransferred |
||
14 | { |
||
15 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
16 | |||
17 | /** @var string */ |
||
18 | public $mobile; |
||
19 | |||
20 | /** @var int */ |
||
21 | public $amount; |
||
22 | |||
23 | /** @var string */ |
||
24 | public $reference; |
||
25 | |||
26 | /** |
||
27 | * Create a new event instance. |
||
28 | * |
||
29 | * @param string $mobile |
||
30 | * @param int $amount |
||
31 | * @param string $reference |
||
32 | */ |
||
33 | public function __construct($mobile, $amount, $reference) |
||
39 | |||
40 | /** |
||
41 | * Get the channels the event should broadcast on. |
||
42 | * |
||
43 | * @return \Illuminate\Broadcasting\Channel|array |
||
44 | */ |
||
45 | public function broadcastOn() |
||
49 | } |
||
50 |