FleetCart/Modules/Product/Events/ProductViewed.php
2023-06-11 13:14:03 +01:00

28 lines
446 B
PHP

<?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;
}
}