You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CurrencyRateChanged.php 447B

123456789101112131415161718192021
  1. <?php
  2. namespace App\Events;
  3. use App\Models\Setting\Currency;
  4. use Illuminate\Broadcasting\InteractsWithSockets;
  5. use Illuminate\Foundation\Events\Dispatchable;
  6. use Illuminate\Queue\SerializesModels;
  7. class CurrencyRateChanged
  8. {
  9. use Dispatchable;
  10. use InteractsWithSockets;
  11. use SerializesModels;
  12. public function __construct(
  13. public Currency $currency,
  14. public float $oldRate,
  15. public float $newRate
  16. ) {}
  17. }