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

699 B
Raw Blame
<?php

namespace HiEvents\Services\Application\Handlers\Webhook\DTO;

use HiEvents\DomainObjects\Status\WebhookStatus;

class EditWebhookDTO extends CreateWebhookDTO
{
    public function __construct(
        public int $webhookId,
        string $url,
        array $eventTypes,
        int $userId,
        int $accountId,
        WebhookStatus $status,
        ?int $eventId = null,
        ?int $organizerId = null,
    ) {
        parent::__construct(
            url: $url,
            eventTypes: $eventTypes,
            userId: $userId,
            accountId: $accountId,
            status: $status,
            eventId: $eventId,
            organizerId: $organizerId,
        );
    }
}