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

30 lines
533 B
PHP

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