feat: re-implement contact form submissions api endpoint for website

This commit is contained in:
Björn Fromme committed 2025-12-10 09:29:19 +01:00
1 parent e27b5da3c8
commit 2b8046b416
11 files changed
+182 -10

No files matched your search

+3
View File
@@ -48,6 +48,9 @@ class HotelLoader extends AbstractLoader
return null;
}
/**
* @throws HotelNotFoundException
*/
public function loadById(int $id, ?string $filename = 'hotel.xml'): Hotel
{
$hotels = $this->loadAll($filename);