1 | <?php |
||
2 | |||
3 | namespace AloiaCms\Events; |
||
4 | |||
5 | use AloiaCms\Models\Contracts\ModelInterface; |
||
6 | use Illuminate\Broadcasting\InteractsWithSockets; |
||
7 | use Illuminate\Foundation\Events\Dispatchable; |
||
8 | use Illuminate\Queue\SerializesModels; |
||
9 | |||
10 | class ModelRenameFailed |
||
11 | { |
||
12 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
13 | |||
14 | public ModelInterface $model; |
||
15 | public string $new_filename; |
||
16 | |||
17 | /** |
||
18 | * Create a new event instance. |
||
19 | * |
||
20 | * @return void |
||
21 | */ |
||
22 | public function __construct(ModelInterface $model, string $new_filename) |
||
23 | { |
||
24 | $this->model = $model; |
||
25 | $this->new_filename = $new_filename; |
||
26 | } |
||
27 | } |
||
28 |