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 ⭐️

427 B
Raw Blame
<?php

namespace HiEvents\Events;

use HiEvents\DomainObjects\Enums\CapacityChangeDirection;

readonly class CapacityChangedEvent
{
    public function __construct(
        public int $eventId,
        public CapacityChangeDirection $direction,
        public ?int $productId = null,
        public ?int $productPriceId = null,
        public ?int $newCapacity = null,
        public ?int $eventOccurrenceId = null,
    ) {}
}