選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

CurrencyRateChanged.php 494B

12345678910111213141516171819202122232425
  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 Currency $currency;
  13. /**
  14. * Create a new event instance.
  15. */
  16. public function __construct(Currency $currency)
  17. {
  18. $this->currency = $currency;
  19. }
  20. }