FleetCart/Modules/Order/Events/OrderStatusChanged.php

30 lines
533 B
PHP
Raw Normal View History

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