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\Http\Resources;
use HiEvents\DomainObjects\EmailTemplateDomainObject;
use HiEvents\Resources\BaseResource;
use Illuminate\Http\Request;
/**
* @mixin EmailTemplateDomainObject
*/
class EmailTemplateResource extends BaseResource
{
public function toArray(Request $request): array
{
return [
'id' => $this->getId(),
'account_id' => $this->getAccountId(),
'organizer_id' => $this->getOrganizerId(),
'event_id' => $this->getEventId(),
'template_type' => $this->getTemplateType(),
'subject' => $this->getSubject(),
'body' => $this->getBody(),
'cta' => $this->getCta(),
'engine' => $this->getEngine(),
'is_active' => $this->getIsActive(),
];
}
}