first commit

This commit is contained in:
JaguarJack
2022-12-05 23:01:12 +08:00
commit 0024080c28
322 changed files with 27698 additions and 0 deletions

27
catch/src/Events/User.php Normal file
View File

@@ -0,0 +1,27 @@
<?php
namespace Catch\Events;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class User
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public Authenticatable|Model $user;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(Authenticatable|Model $user)
{
//
$this->user = $user;
}
}