| 1 | <?php |
||
| 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($this->mobile, $this->amount, $this->reference) |
||
|
|
|||
| 34 | { |
||
| 35 | $this->mobile = $mobile; |
||
| 36 | $this->amount = $amount; |
||
| 37 | $this->reference = $reference; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get the channels the event should broadcast on. |
||
| 50 |