您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

DefaultCurrencyChanged.php 481B

1234567891011121314151617181920212223
  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 DefaultCurrencyChanged
  8. {
  9. use Dispatchable, InteractsWithSockets, SerializesModels;
  10. public Currency $currency;
  11. /**
  12. * Create a new event instance.
  13. */
  14. public function __construct(Currency $currency)
  15. {
  16. $this->currency = $currency;
  17. }
  18. }