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 ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
namespace HiEvents\Resources\Webhook;
use HiEvents\DomainObjects\WebhookLogDomainObject;
use HiEvents\Resources\BaseResource;
/**
* @mixin WebhookLogDomainObject
*/
class WebhookLogResource extends BaseResource
{
public function toArray($request): array
{
return [
'id' => $this->getId(),
'webhook_id' => $this->getWebhookId(),
'payload' => $this->getPayload(),
'response_body' => $this->getResponseBody(),
'response_code' => $this->getResponseCode(),
'created_at' => $this->getCreatedAt(),
'event_type' => $this->getEventType(),
];
}
}