Dumped Contents
1 in
RoomStayCalculation.php
line 61:
$chambersRoomsPrices[$indexChamber][$key]['isCapacity'] = $chamber->hasMatchingRoomCapacity($room->getroomCapacities());
if ($this->debug) {
dump('Hotel : '.$hotel->getName().' - Chambre : #'. $room->getId(). ' - '.$room->getName(). ' has the capacity config check: ', $chambersRoomsPrices[$indexChamber][$key]['isCapacity']);
dump($chamber);
}
"Hotel : LUX Belle Mare - Chambre : #157 - Suite Junior "Vue Piscine" has the capacity config check: "
2 in
RoomStayCalculation.php
line 61:
$chambersRoomsPrices[$indexChamber][$key]['isCapacity'] = $chamber->hasMatchingRoomCapacity($room->getroomCapacities());
if ($this->debug) {
dump('Hotel : '.$hotel->getName().' - Chambre : #'. $room->getId(). ' - '.$room->getName(). ' has the capacity config check: ', $chambersRoomsPrices[$indexChamber][$key]['isCapacity']);
dump($chamber);
}
true
In
RoomStayCalculation.php
line 62:
if ($this->debug) {
dump('Hotel : '.$hotel->getName().' - Chambre : #'. $room->getId(). ' - '.$room->getName(). ' has the capacity config check: ', $chambersRoomsPrices[$indexChamber][$key]['isCapacity']);
dump($chamber);
}
// check room capacities
App\DTO\SearchChambersDTO {#1413
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
1 in
RoomStayCalculation.php
line 472:
}
if ($this->debug) {
dump('getDatesAndDailyPrices() -> Results before parsing', $roomPricesDatesAndPrice);
}
"getDatesAndDailyPrices() -> Results before parsing"
2 in
RoomStayCalculation.php
line 472:
}
if ($this->debug) {
dump('getDatesAndDailyPrices() -> Results before parsing', $roomPricesDatesAndPrice);
}
array:1 [
0 => App\DTO\RoomDatesAndPricesDTO {#1705
+rpId: 2042
+adultsPrice: 520
+childrenPrice: 0
+startAt: DateTimeImmutable @1742601600 {#1466
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1743033540 {#1452
date: 2025-03-26 23:59:00.0 UTC (+00:00)
}
}
]
1 in
RoomStayCalculation.php
line 481:
$prices_wo_extras = $this->parseDailyPrices($roomPricesDatesAndPrice);
if ($this->debug) {
dump('parseDailyPrices() -> Parsed daily prices', $prices_wo_extras);
}
if (!$prices_wo_extras) {
"parseDailyPrices() -> Parsed daily prices"
2 in
RoomStayCalculation.php
line 481:
$prices_wo_extras = $this->parseDailyPrices($roomPricesDatesAndPrice);
if ($this->debug) {
dump('parseDailyPrices() -> Parsed daily prices', $prices_wo_extras);
}
if (!$prices_wo_extras) {
array:4 [
"2025-03-22" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
]
1 in
RoomStayCalculation.php
line 88:
$searchResults = [];
if ($this->debug) {
dump('Update Stay Rooms - Chambers Prices', $chambersRoomsPrices);
}
"Update Stay Rooms - Chambers Prices"
2 in
RoomStayCalculation.php
line 88:
$searchResults = [];
if ($this->debug) {
dump('Update Stay Rooms - Chambers Prices', $chambersRoomsPrices);
}
array:1 [
0 => array:1 [
0 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1413
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
"room_id" => 157
"room_picture" => "/uploads/rooms/157/6667ee662e922992732751.jpg"
"room_name" => "Suite Junior "Vue Piscine""
"room_slug" => "suite-junior-vue-piscine"
"room_description" => "Idéalement situées au cœur de l'hôtel, orientées vers la piscine principale, ces suites sont parfaites pour les familles avec de jeunes enfants. Parées de nuances sable, corail et jaune citron, avec vue sur la piscine, elles sont propices à la détente tout en étant à proximité des lieux favoris des enfants et des parents ! La salle de bains tout en blanc est équipée d'une magnifique baignoire et d'une grande douche."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 2042
"adult_amount" => 2080
"children_amount" => 0
"basis_amount" => 2080
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
]
]
]
]
]
1 in
RoomStayCalculation.php
line 217:
}
if ($this->debug) {
dump('Update Stay Rooms results', $searchResults);
}
// Set the results and sort by total amount ASC
"Update Stay Rooms results"
2 in
RoomStayCalculation.php
line 217:
}
if ($this->debug) {
dump('Update Stay Rooms results', $searchResults);
}
// Set the results and sort by total amount ASC
array:1 [
0 => App\DTO\RoomStayDTO {#1599
-marginRate: 20
-id: 157
-name: "Suite Junior "Vue Piscine""
-slug: "suite-junior-vue-piscine"
-picture: "/uploads/rooms/157/6667ee662e922992732751.jpg"
-description: "Idéalement situées au cœur de l'hôtel, orientées vers la piscine principale, ces suites sont parfaites pour les familles avec de jeunes enfants. Parées de nuances sable, corail et jaune citron, avec vue sur la piscine, elles sont propices à la détente tout en étant à proximité des lieux favoris des enfants et des parents ! La salle de bains tout en blanc est équipée d'une magnifique baignoire et d'une grande douche."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 185
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
]
"amount" => 2080
]
]
-totalRoomAmount: 2080.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1623
-marginRate: 20
+extraId: 185
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2080.0
+totalStayAmount: 2080.0
+finalAmountWoDiscount: 2496.0
+finalAmount: 2496.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1644
-marginRate: 20
+extraId: 101
+name: "Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 120
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 480
+kidsExtrasAmount: 0
+stayExtrasAmount: 480
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2560.0
+totalStayAmount: 2560.0
+finalAmountWoDiscount: 3072.0
+finalAmount: 3072.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1651
-marginRate: 20
+extraId: 103
+name: "Pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 200
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 800
+kidsExtrasAmount: 0
+stayExtrasAmount: 800
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2880.0
+totalStayAmount: 2880.0
+finalAmountWoDiscount: 3456.0
+finalAmount: 3456.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1652
-marginRate: 20
+extraId: 105
+name: "Formule "Tout Inclus""
+description: null
+stayTotalNights: 4
+dailyAdults: 280
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1120
+kidsExtrasAmount: 0
+stayExtrasAmount: 1120
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 3200.0
+totalStayAmount: 3200.0
+finalAmountWoDiscount: 3840.0
+finalAmount: 3840.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
]
1 in
RoomStayCalculation.php
line 274:
{
$offers_eligibled = [];
if ($this->debug) {
dump('All available offers of the hotel', $offers);
}
foreach ($offers as $key => $offer) {
"All available offers of the hotel"
1 in
RoomStayCalculation.php
line 246:
$validOffers = $this->getValidOffers($hotel->getOffers());
if ($this->debug) {
dump('Step 1. Offres valides : ', $validOffers);
}
if ($validOffers == null) {
"Step 1. Offres valides : "
2 in
RoomStayCalculation.php
line 246:
$validOffers = $this->getValidOffers($hotel->getOffers());
if ($this->debug) {
dump('Step 1. Offres valides : ', $validOffers);
}
if ($validOffers == null) {
null
1 in
HotelController.php
line 638:
$formBookingHidden->handleRequest($request);
// dump("Session vars:", $siteSession->allVars());
dump("Current Room Price:", $roomRate);
return $this->render('room/show.html.twig', [
'room' => $room,
"Current Room Price:"
2 in
HotelController.php
line 638:
$formBookingHidden->handleRequest($request);
// dump("Session vars:", $siteSession->allVars());
dump("Current Room Price:", $roomRate);
return $this->render('room/show.html.twig', [
'room' => $room,
array:18 [
"hotel_id" => 25
"picture_path" => "/uploads/hotels/25/66965bdbcd285371809419.jpg"
"hotel_name" => "LUX Belle Mare"
"room_id" => 157
"room_name" => "Suite Junior "Vue Piscine""
"from" => "22/03/2025"
"to" => "26/03/2025"
"nights" => 4
"neededRooms" => 1
"adults" => 2
"children" => 0
"totalAmount" => 2080.0
"totalAmountDiscounted" => null
"mandatoryExtraId" => 185
"extra" => App\DTO\ExtraStayDTO {#1623
-marginRate: 20
+extraId: 185
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2080.0
+totalStayAmount: 2080.0
+finalAmountWoDiscount: 2496.0
+finalAmount: 2496.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
"specialExtra" => []
"discounts" => []
"error" => []
]
1 in
HomeController.php
line 84:
'config_chambers' => ($siteSession->getSessionVar('search/chambers')) ? json_decode($siteSession->getSessionVar('search/chambers')) : null
];
dump('Search Model booking :', $searchToolsDTO);
$form = $this->createForm(SearchToolsType::class, $searchToolsDTO, $searchTypeOptions);
"Search Model booking :"
2 in
HomeController.php
line 84:
'config_chambers' => ($siteSession->getSessionVar('search/chambers')) ? json_decode($siteSession->getSessionVar('search/chambers')) : null
];
dump('Search Model booking :', $searchToolsDTO);
$form = $this->createForm(SearchToolsType::class, $searchToolsDTO, $searchTypeOptions);
App\DTO\SearchToolsDTO {#802
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#803
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#804
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#805
-metadata: Vich\UploaderBundle\Metadata\MetadataReader {#458
-reader: Metadata\MetadataFactory {#450
-driver: Metadata\Driver\DriverChain {#451
-drivers: array:4 [
0 => Vich\UploaderBundle\Metadata\Driver\XmlDriver {#452
-locator: Metadata\Driver\FileLocator {#449
-dirs: []
}
}
1 => Vich\UploaderBundle\Metadata\Driver\AnnotationDriver {#453
#reader: Vich\UploaderBundle\Metadata\Driver\AttributeReader {#454}
-managerRegistryList: array:1 [
0 => Doctrine\Bundle\DoctrineBundle\Registry {#83
-name: "ORM"
-connections: array:1 [
"default" => "doctrine.dbal.default_connection"
]
-managers: array:1 [
"default" => "doctrine.orm.default_entity_manager"
]
-defaultConnection: "default"
-defaultManager: "default"
-proxyInterfaceName: "Doctrine\Persistence\Proxy"
#container: ContainerUIpB4Xl\App_KernelDevDebugContainer {#42 …20}
}
]
}
2 => Vich\UploaderBundle\Metadata\Driver\YamlDriver {#455
-locator: Metadata\Driver\FileLocator {#449}
}
3 => Vich\UploaderBundle\Metadata\Driver\YmlDriver {#456
-locator: Metadata\Driver\FileLocator {#449}
}
]
}
-cache: Metadata\Cache\FileCache {#457
-dir: "/var/www/vhost/allons-maurice/app/var/cache/dev/vich_uploader"
}
-loadedMetadata: array:5 [
"App\Entity\Rooms" => Metadata\ClassHierarchyMetadata {#1580
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1578
+name: "App\Entity\Rooms"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Rooms.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_rooms"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Hotels" => Metadata\ClassHierarchyMetadata {#1665
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1649
+name: "App\Entity\Hotels"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Hotels.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_hotels"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Images" => Metadata\ClassHierarchyMetadata {#2133
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2134
+name: "App\Entity\Images"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Images.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "medias"
"propertyName" => "imageFile"
"fileNameProperty" => "imageName"
"size" => "size"
"mimeType" => "type"
"originalName" => null
"dimensions" => "dimensions"
]
]
}
]
}
"App\Entity\Slides" => Metadata\ClassHierarchyMetadata {#2562
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2563
+name: "App\Entity\Slides"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Slides.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "slides"
"propertyName" => "imageFile"
"fileNameProperty" => "bgImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Posts" => Metadata\ClassHierarchyMetadata {#2838
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2837
+name: "App\Entity\Posts"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Posts.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_posts"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
]
-loadedClassMetadata: array:5 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1578}
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1649}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2134}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2563}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2837}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#806
-container: ContainerUIpB4Xl\App_KernelDevDebugContainer {#42 …20}
-mappings: array:5 [
"featured_hotels" => array:8 [
"uri_prefix" => "/uploads/hotels"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/hotels"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.featured_hotels"
"options" => []
]
"directory_namer" => array:2 [
"service" => "vich_uploader.namer_directory_property"
"options" => array:2 [
"property" => "mediaDirSlug"
"transliterate" => true
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"featured_rooms" => array:8 [
"uri_prefix" => "/uploads/rooms"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/rooms"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.featured_rooms"
"options" => []
]
"directory_namer" => array:2 [
"service" => "vich_uploader.namer_directory_property"
"options" => array:2 [
"property" => "mediaDirSlug"
"transliterate" => true
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"featured_posts" => array:8 [
"uri_prefix" => "/uploads/posts"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/posts"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.featured_posts"
"options" => []
]
"directory_namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\CurrentDateTimeDirectoryNamer"
"options" => array:2 [
"date_time_format" => "Y/m/d"
"date_time_property" => "uploadedAt"
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"medias" => array:8 [
"uri_prefix" => "/uploads/medias"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/medias"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.medias"
"options" => []
]
"directory_namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\CurrentDateTimeDirectoryNamer"
"options" => array:2 [
"date_time_format" => "Y/m/d"
"date_time_property" => "uploadedAt"
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"slides" => array:8 [
"uri_prefix" => "/uploads/slides"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/slides"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.slides"
"options" => []
]
"directory_namer" => array:2 [
"service" => null
"options" => null
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
]
-defaultFilenameAttributeSuffix: "_name"
}
}
}
}
+hotel: App\Entity\Hotels {#1027
-id: 25
-name: "LUX Belle Mare"
-description: "Il y a la plage emblématique digne d'une carte postale, le design saisissant dans des tons blancs et beiges ponctués de touches de corail et de vert, un éventail spectaculaire d'expériences gastronomiques, le bien-être et la pleine conscience... La douceur de vivre sur une île rayonne ici, appelant les voyageurs de tous âges à vivre une vie extraordinaire."
-website: "https://www.luxresorts.com/fr/maurice/hotel/luxbellemare"
-stars: 5
-youtubeVideoId: "63wS3Hu1KNs"
-phone: "+230 402 2000"
-email: "luxbellemare@luxresorts.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3744.4407486914733!2d57.77978281217447!3d-20.19899798117251!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217cfb0ae41af789%3A0xde80166c565426b5!2sLUX%20Belle%20Mare!5e0!3m2!1sfr!2sfr!4v1718969650032!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Est"
-createdAt: DateTimeImmutable @1714145854 {#1019
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672826 {#1050
date: 2024-10-23 08:40:26.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1024
#collection: Doctrine\Common\Collections\ArrayCollection {#1023
-elements: array:1 [
0 => App\Entity\Rooms {#1047
-id: 157
-name: "Suite Junior "Vue Piscine""
-description: "Idéalement situées au cœur de l'hôtel, orientées vers la piscine principale, ces suites sont parfaites pour les familles avec de jeunes enfants. Parées de nuances sable, corail et jaune citron, avec vue sur la piscine, elles sont propices à la détente tout en étant à proximité des lieux favoris des enfants et des parents ! La salle de bains tout en blanc est équipée d'une magnifique baignoire et d'une grande douche."
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1674
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 2042
-title: "Suite Junior "Vue Piscine" - Moyenne (copie)"
-room: App\Entity\Rooms {#1047}
-quantity: null
-stayStartedAt: DateTimeImmutable @1737201600 {#1647
date: 2025-01-18 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1656
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1722
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1721
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "520.00"
-singleOccupancy: "500.00"
-tripleOccupancy: "220.00"
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: 70.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1083
#collection: Doctrine\Common\Collections\ArrayCollection {#1180
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#904 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1144 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1040
#collection: Doctrine\Common\Collections\ArrayCollection {#1042
-elements: array:9 [
0 => App\Entity\RoomCapacities {#1717
-id: 2194
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 2195
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1618
-id: 2196
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1600
-id: 2200
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1601
-id: 2201
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1723
-id: 2202
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1724
-id: 2203
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1688
-id: 2204
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1728
-id: 2205
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:9 [ …9]
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#906 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1069 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1012
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672839 {#1031
date: 2024-10-23 08:40:39.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "6667ee662e922992732751.jpg"
-gallery: App\Entity\Galleries {#1290
-id: 154
-hotel: null
-room: App\Entity\Rooms {#1047}
-images: Doctrine\ORM\PersistentCollection {#1355
#collection: Doctrine\Common\Collections\ArrayCollection {#1356
-elements: array:5 [
0 => App\Entity\Images {#2306
-id: 340
-title: null
-imageFile: null
-imageName: "6669449d6728f159591544.jpeg"
-size: 113013
-type: "image/jpeg"
-dimensions: array:2 [
0 => 638
1 => 491
]
-updatedAt: DateTimeImmutable @1718174877 {#2329
date: 2024-06-12 06:47:57.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
1 => App\Entity\Images {#2344
-id: 491
-title: null
-imageFile: null
-imageName: "67163e42423f8543198649.jpg"
-size: 116246
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 528
]
-updatedAt: DateTimeImmutable @1729510978 {#2317
date: 2024-10-21 11:42:58.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
2 => App\Entity\Images {#2348
-id: 492
-title: null
-imageFile: null
-imageName: "67163e7c54368629888804.jpg"
-size: 122303
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 552
]
-updatedAt: DateTimeImmutable @1729511036 {#2347
date: 2024-10-21 11:43:56.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
3 => App\Entity\Images {#2351
-id: 493
-title: null
-imageFile: null
-imageName: "6716484e639cd935850416.jpg"
-size: 140240
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 528
]
-updatedAt: DateTimeImmutable @1729513550 {#2350
date: 2024-10-21 12:25:50.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
4 => App\Entity\Images {#2353
-id: 494
-title: null
-imageFile: null
-imageName: "6716484e64039180026342.jpg"
-size: 55590
-type: "image/jpeg"
-dimensions: array:2 [
0 => 396
1 => 594
]
-updatedAt: DateTimeImmutable @1729513550 {#2352
date: 2024-10-21 12:25:50.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Galleries {#1290}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "Lux belle mare suite junior vue piscine"
}
-mediaDirSlug: "157"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "suite-junior-vue-piscine"
}
]
}
#initialized: true
-snapshot: array:1 [ …1]
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1116 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-address: "Route Côtière, Belle Mare, Île Maurice"
-checkInTime: "14:00"
-checkOutTime: "11:00"
-babyAgeMax: "6"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:4 [
0 => App\Entity\ExtraCharges {#1633
-id: 101
-title: "Demi pension"
-description: null
-adultExtra: 60.0
-babyExtra: null
-childExtra: 30.0
-teenExtra: 60.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
1 => App\Entity\ExtraCharges {#1645
-id: 103
-title: "Pension complète"
-description: null
-adultExtra: 100.0
-babyExtra: null
-childExtra: 50.0
-teenExtra: 100.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
2 => App\Entity\ExtraCharges {#1646
-id: 105
-title: "Formule "Tout Inclus""
-description: null
-adultExtra: 140.0
-babyExtra: null
-childExtra: 70.0
-teenExtra: 105.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
3 => App\Entity\ExtraCharges {#1648
-id: 185
-title: "BASE - PETIT DEJEUNER"
-description: null
-adultExtra: 0.0
-babyExtra: 0.0
-childExtra: 0.0
-teenExtra: 0.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: true
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1117 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-imageFile: null
-featuredImage: "66965bdbcd285371809419.jpg"
-gallery: App\Entity\Galleries {#1251
-id: 37
-hotel: App\Entity\Hotels {#1027}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1264
#collection: Doctrine\Common\Collections\ArrayCollection {#1263
-elements: array:5 [
0 => App\Entity\Images {#2150
-id: 98
-title: null
-imageFile: null
-imageName: "6661526fa0c44111667792.jpg"
-size: 1190953
-type: "image/jpeg"
-dimensions: array:2 [
0 => 2034
1 => 1242
]
-updatedAt: DateTimeImmutable @1717654127 {#2149
date: 2024-06-06 06:08:47.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
1 => App\Entity\Images {#2141
-id: 99
-title: null
-imageFile: null
-imageName: "6661526fa1b23424964580.jpg"
-size: 1001922
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1863
1 => 1242
]
-updatedAt: DateTimeImmutable @1717654127 {#2142
date: 2024-06-06 06:08:47.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
2 => App\Entity\Images {#2139
-id: 100
-title: null
-imageFile: null
-imageName: "6661526fa25c1063406115.jpg"
-size: 1425872
-type: "image/jpeg"
-dimensions: array:2 [
0 => 2080
1 => 1242
]
-updatedAt: DateTimeImmutable @1717654127 {#2140
date: 2024-06-06 06:08:47.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
3 => App\Entity\Images {#2137
-id: 101
-title: null
-imageFile: null
-imageName: "6661526fa31cc488233310.jpg"
-size: 916650
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1862
1 => 1242
]
-updatedAt: DateTimeImmutable @1717654127 {#2138
date: 2024-06-06 06:08:47.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
4 => App\Entity\Images {#2135
-id: 433
-title: null
-imageFile: null
-imageName: "67053d343be41975981610.jpg"
-size: 1052090
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1887
1 => 1242
]
-updatedAt: DateTimeImmutable @1728396596 {#2136
date: 2024-10-08 14:09:56.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Galleries {#1251}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "Hotel Lux Belle Mare"
}
-mediaDirSlug: "25"
-offers: Doctrine\Common\Collections\ArrayCollection {#1981
-elements: []
}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "lux-belle-mare"
}
+stars: null
+dateRange: "22/03/2025 - 26/03/2025"
+fromAt: DateTimeImmutable @1742601600 {#3021
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#3020
date: 2025-03-26 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => "6"
"child" => "12"
"teen" => "18"
]
+nights: 4
+chambers: []
+stay_rooms: array:1 [
0 => App\DTO\RoomStayDTO {#1599
-marginRate: 20
-id: 157
-name: "Suite Junior "Vue Piscine""
-slug: "suite-junior-vue-piscine"
-picture: "/uploads/rooms/157/6667ee662e922992732751.jpg"
-description: "Idéalement situées au cœur de l'hôtel, orientées vers la piscine principale, ces suites sont parfaites pour les familles avec de jeunes enfants. Parées de nuances sable, corail et jaune citron, avec vue sur la piscine, elles sont propices à la détente tout en étant à proximité des lieux favoris des enfants et des parents ! La salle de bains tout en blanc est équipée d'une magnifique baignoire et d'une grande douche."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 185
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
]
"amount" => 2080
]
]
-totalRoomAmount: 2080.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1623
-marginRate: 20
+extraId: 185
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2080.0
+totalStayAmount: 2080.0
+finalAmountWoDiscount: 2496.0
+finalAmount: 2496.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1644
-marginRate: 20
+extraId: 101
+name: "Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 120
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 480
+kidsExtrasAmount: 0
+stayExtrasAmount: 480
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2560.0
+totalStayAmount: 2560.0
+finalAmountWoDiscount: 3072.0
+finalAmount: 3072.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1651
-marginRate: 20
+extraId: 103
+name: "Pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 200
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 800
+kidsExtrasAmount: 0
+stayExtrasAmount: 800
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2880.0
+totalStayAmount: 2880.0
+finalAmountWoDiscount: 3456.0
+finalAmount: 3456.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1652
-marginRate: 20
+extraId: 105
+name: "Formule "Tout Inclus""
+description: null
+stayTotalNights: 4
+dailyAdults: 280
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1120
+kidsExtrasAmount: 0
+stayExtrasAmount: 1120
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 3200.0
+totalStayAmount: 3200.0
+finalAmountWoDiscount: 3840.0
+finalAmount: 3840.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
]
}