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