feat: add typed dto for cms data

This commit is contained in:
Björn Fromme committed 2026-04-12 18:17:54 +02:00
1 parent 6ab34fa87c
commit 16cab4b768
13 files changed
+78 -34

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace App\Model;
/**
* Typed hotel CMS payload for the booking summary.
*/
final readonly class BookingSummaryCmsHotelDto
{
/**
* @param array<string, mixed>|null $images
*/
public function __construct(
public ?string $name,
public ?string $address,
public ?array $images,
) {
}
}