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\TechTip;
class TechTipDeletedEvent
{
use Dispatchable;
use SerializesModels;
Illuminate\Queue\SerializesModels
App\Events\TechTips\TechTipDeletedEvent
$id
$relations
$class
$connection
$keyBy
use InteractsWithSockets;
public $techTip;
/**
* Create a new event instance
*/
public function __construct(TechTip $techTip)
$this->techTip = $techTip;
}