2017-12-02 23:19:58 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
|
|
|
|
2020-09-04 00:50:42 +08:00
|
|
|
use App\Contracts\Event;
|
2017-12-02 23:19:58 +08:00
|
|
|
use App\Models\User;
|
|
|
|
|
2020-09-04 00:50:42 +08:00
|
|
|
class TestEvent extends Event
|
2017-12-02 23:19:58 +08:00
|
|
|
{
|
2022-03-14 23:45:18 +08:00
|
|
|
public User $user;
|
2017-12-02 23:19:58 +08:00
|
|
|
|
|
|
|
public function __construct(User $user)
|
|
|
|
{
|
|
|
|
$this->user = $user;
|
|
|
|
}
|
|
|
|
}
|