您最多选择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. }