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

This commit is contained in:
Björn Fromme committed 2026-03-16 12:00:55 +01:00
1 parent ab18e5f134
commit b567b6a840
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);