Files
pricebuddy/app/Events/PriceCreatedEvent.php

15 lines
264 B
PHP

<?php
namespace App\Events;
use App\Models\Price;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class PriceCreatedEvent
{
use Dispatchable, SerializesModels;
public function __construct(public Price $price) {}
}