File: /home/imensosw/www/mpl.imenso.co/app/Events/UserReportsComment.php
<?php
namespace App\Events;
use App\Models\Comment;
use App\Models\User;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class UserReportsComment
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $reporter;
public $comment;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(User $reporter, Comment $comment)
{
$this->comment = $comment;
$this->reporter = $reporter;
}
}