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

This commit is contained in:
Björn Fromme
2025-12-10 09:29:19 +01:00
parent e27b5da3c8
commit 2b8046b416
11 changed files with 182 additions and 10 deletions
+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);