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
declare(strict_types=1);
namespace HiEvents\Enterprise\Seating\Resources;
use HiEvents\Enterprise\Seating\Services\Domain\DTO\OccupiedSeatDTO;
use HiEvents\Resources\BaseResource;
use Illuminate\Http\Request;
/**
* @mixin OccupiedSeatDTO
*/
class OccupiedSeatResource extends BaseResource
{
public function toArray(Request $request): array
{
return [
'seat_uid' => $this->seat_uid,
'seat_label' => $this->seat_label,
'is_zone' => $this->is_zone,
'band_key' => $this->band_key,
/** @var 'HELD'|'SOLD'|'BLOCKED' */
'status' => $this->status->name,
'block_reason' => $this->block_reason,
'attendee_public_id' => $this->attendee_public_id,
'attendee_name' => $this->attendee_name,
];
}
}