1 | <?php |
||
2 | |||
3 | namespace App\Events; |
||
4 | |||
5 | use App\Models\Course; |
||
6 | use App\Models\Student; |
||
7 | use Illuminate\Broadcasting\InteractsWithSockets; |
||
8 | use Illuminate\Foundation\Events\Dispatchable; |
||
9 | use Illuminate\Queue\SerializesModels; |
||
10 | |||
11 | class EnrollmentCourseUpdated |
||
12 | { |
||
13 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
14 | |||
15 | // the ids must refer to lms_id (not the local ones) |
||
16 | public function __construct(public Student $student, public Course $previousCourse, public Course $newCourse) |
||
17 | { |
||
18 | // |
||
19 | } |
||
20 | } |
||
21 |