FleetCart/Modules/Product/Events/ProductViewed.php

28 lines
446 B
PHP
Raw Permalink Normal View History

2023-06-11 12:14:03 +00:00
<?php
namespace Modules\Product\Events;
use Illuminate\Queue\SerializesModels;
class ProductViewed
{
use SerializesModels;
/**
* The product entity.
*
* @var \Modules\Product\Entities\Product
*/
public $product;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct($product)
{
$this->product = $product;
}
}