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

CompanyGenerated.php 553B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace App\Events;
  3. use App\Models\Company;
  4. use App\Models\User;
  5. use Illuminate\Foundation\Events\Dispatchable;
  6. use Illuminate\Queue\SerializesModels;
  7. class CompanyGenerated
  8. {
  9. use Dispatchable, SerializesModels;
  10. public User $user;
  11. public Company $company;
  12. public string $country;
  13. /**
  14. * Create a new event instance.
  15. */
  16. public function __construct(User $user, Company $company, string $country)
  17. {
  18. $this->user = $user;
  19. $this->company = $company;
  20. $this->country = $country;
  21. }
  22. }