12345678910111213141516171819202122 |
- <?php
-
- namespace App\Events;
-
- use App\Models\Setting\Currency;
- use Illuminate\Broadcasting\InteractsWithSockets;
- use Illuminate\Foundation\Events\Dispatchable;
- use Illuminate\Queue\SerializesModels;
-
- class CurrencyRateChanged
- {
- use Dispatchable;
- use InteractsWithSockets;
- use SerializesModels;
-
- public function __construct(
- public Currency $currency,
- public float $oldRate,
- public float $newRate
- ) {
- }
- }
|