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
|
|
|
{
|
|
|
|
public $user;
|
|
|
|
|
|
|
|
public function __construct(User $user)
|
|
|
|
{
|
|
|
|
$this->user = $user;
|
|
|
|
}
|
|
|
|
}
|