Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

353 B
Raw Blame
<?php

namespace HiEvents\Events;

use HiEvents\DomainObjects\OrderDomainObject;
use Illuminate\Foundation\Events\Dispatchable;

class OrderStatusChangedEvent
{
    use Dispatchable;

    public function __construct(
        public OrderDomainObject $order,
        public bool $sendEmails = true,
        public bool $createInvoice = false,
    ) {}
}