123456789101112131415161718192021222324252627 |
- <?php
-
- namespace App\Events;
-
- use App\Models\Company;
- use App\Models\User;
- use Illuminate\Foundation\Events\Dispatchable;
- use Illuminate\Queue\SerializesModels;
-
- class CompanyGenerated
- {
- use Dispatchable, SerializesModels;
-
- public User $user;
- public Company $company;
- public string $country;
-
- /**
- * Create a new event instance.
- */
- public function __construct(User $user, Company $company, string $country)
- {
- $this->user = $user;
- $this->company = $company;
- $this->country = $country;
- }
- }
|