for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Events\TechTips;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
use App\Models\TechTipComment;
class TechTipCommentCreatedEvent
{
use Dispatchable;
use SerializesModels;
use InteractsWithSockets;
public $comment;
/**
* Create a new event instance
*/
public function __construct(TechTipComment $comment)
$this->comment = $comment;
}