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 : Sands Suites Resort & Spa - Chambre : #22 - Superior Suite 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 {#1558
+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 {#1947
+rpId: 2281
+adultsPrice: 355
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1941
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1560
date: 2024-12-08 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:7 [
"2024-12-01" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
]
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 : Sands Suites Resort & Spa - Chambre : #24 - Beachfront Suite 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 {#1558
+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 {#1976
+rpId: 2295
+adultsPrice: 435
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1913
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1560
date: 2024-12-08 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:7 [
"2024-12-01" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
]
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 : Sands Suites Resort & Spa - Chambre : #25 - Exclusive Suite 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 {#1558
+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 {#2091
+rpId: 2302
+adultsPrice: 530
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1857
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1560
date: 2024-12-08 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:7 [
"2024-12-01" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
]
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 : Sands Suites Resort & Spa - Chambre : #23 - Deluxe Suite 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 {#1558
+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 {#2118
+rpId: 2288
+adultsPrice: 380
+childrenPrice: 0
+startAt: DateTimeImmutable @1733054400 {#1878
date: 2024-12-01 12:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1560
date: 2024-12-08 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:7 [
"2024-12-01" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 380
"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:4 [
0 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1558
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
"room_id" => 22
"room_picture" => "/uploads/rooms/22/666bd96c0c24f150323897.jpg"
"room_name" => "Superior Suite"
"room_slug" => "superior-suite"
"room_description" => "Des suites spacieuses de style moderne joliment décorées et éclairées. Afin de vous offrir une expérience luxueuse, elles disposent de grands lits, de canapés et d’un balcon privatif faisant face à l’océan. Ces chambres étant situées aux premier et deuxième étages, elles vous offrent une superbe vue sur le lagon bleu azur."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 2281
"adult_amount" => 2485
"children_amount" => 0
"basis_amount" => 2485
"mandatoryExtraId" => null
"default_extra_label" => "DEMI PENSION"
"dates_prices" => array:7 [
"2024-12-01" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
]
]
]
1 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1558}
"room_id" => 24
"room_picture" => "/uploads/rooms/24/666bda9a245bc503124079.jpg"
"room_name" => "Beachfront Suite"
"room_slug" => "beachfront-suite"
"room_description" => """
Emplacement en bord de plage privilégié Vue sur la baie de Tamarin Demi-pension possible\r\n
\r\n
Chaque suite dispose d’une terrasse ou d’un balcon privatif et offre l’une des vues les plus spectaculaires de l’île. Ces suites spacieuses sont de véritables havres de paix où vous pourrez vous détendre à toute heure de la journée, profiter du confort d’un grand salon et admirer la superbe baie de Tamarin.
"""
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 2295
"adult_amount" => 3045
"children_amount" => 0
"basis_amount" => 3045
"mandatoryExtraId" => null
"default_extra_label" => "DEMI PENSION"
"dates_prices" => array:7 [
"2024-12-01" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
]
]
]
2 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1558}
"room_id" => 25
"room_picture" => "/uploads/rooms/25/666bdafc66b3c703347467.jpg"
"room_name" => "Exclusive Suite"
"room_slug" => "exclusive-suite"
"room_description" => "Disposant de deux chambres à coucher, d’un coin salon séparé et de deux balcons offrant une vue splendide sur l’océan Indien, cette suite vous permet de profiter pleinement de vos vacances grâce à un confort incomparable. Avec sa chambre supplémentaire, elle est idéale pour les familles ou les couples en quête d’un séjour d’exception."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 2302
"adult_amount" => 3710
"children_amount" => 0
"basis_amount" => 3710
"mandatoryExtraId" => null
"default_extra_label" => "DEMI PENSION"
"dates_prices" => array:7 [
"2024-12-01" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
]
]
]
3 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1558}
"room_id" => 23
"room_picture" => "/uploads/rooms/23/666bda2555092060530053.jpg"
"room_name" => "Deluxe Suite"
"room_slug" => "deluxe-suite"
"room_description" => "Leur terrasse privative vous permet de vous installer confortablement au soleil. Avec leur grande chambre à coucher aux tons neutres rehaussée d’une touche de couleur vive et leurs canapés, depuis lesquels vous profiterez d’une vue imprenable sur l’océan, ces suites vous garantissent un confort cinq étoiles."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 2288
"adult_amount" => 2660
"children_amount" => 0
"basis_amount" => 2660
"mandatoryExtraId" => null
"default_extra_label" => "DEMI PENSION"
"dates_prices" => array:7 [
"2024-12-01" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 380
"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:4 [
0 => App\DTO\RoomStayDTO {#1562
-marginRate: 20
-id: 22
-name: "Superior Suite"
-slug: "superior-suite"
-picture: "/uploads/rooms/22/666bd96c0c24f150323897.jpg"
-description: "Des suites spacieuses de style moderne joliment décorées et éclairées. Afin de vous offrir une expérience luxueuse, elles disposent de grands lits, de canapés et d’un balcon privatif faisant face à l’océan. Ces chambres étant situées aux premier et deuxième étages, elles vous offrent une superbe vue sur le lagon bleu azur."
-stayTotalNights: 7
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "DEMI PENSION"
-mandatoryExtraId: 169
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:7 [
"2024-12-01" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 355
"kids_price" => 0
]
]
"amount" => 2485
]
]
-totalRoomAmount: 2485.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:1 [
0 => App\DTO\ExtraStayDTO {#2156
-marginRate: 20
+extraId: 169
+name: "Base Demi pension"
+description: null
+stayTotalNights: 7
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2485.0
+totalStayAmountWoDiscount: 2485.0
+totalStayAmount: 2485.0
+finalAmountWoDiscount: 2982.0
+finalAmount: 2982.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
1 => App\DTO\RoomStayDTO {#2119
-marginRate: 20
-id: 24
-name: "Beachfront Suite"
-slug: "beachfront-suite"
-picture: "/uploads/rooms/24/666bda9a245bc503124079.jpg"
-description: """
Emplacement en bord de plage privilégié Vue sur la baie de Tamarin Demi-pension possible\r\n
\r\n
Chaque suite dispose d’une terrasse ou d’un balcon privatif et offre l’une des vues les plus spectaculaires de l’île. Ces suites spacieuses sont de véritables havres de paix où vous pourrez vous détendre à toute heure de la journée, profiter du confort d’un grand salon et admirer la superbe baie de Tamarin.
"""
-stayTotalNights: 7
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "DEMI PENSION"
-mandatoryExtraId: 169
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:7 [
"2024-12-01" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 435
"kids_price" => 0
]
]
"amount" => 3045
]
]
-totalRoomAmount: 3045.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:1 [
0 => App\DTO\ExtraStayDTO {#2159
-marginRate: 20
+extraId: 169
+name: "Base Demi pension"
+description: null
+stayTotalNights: 7
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 3045.0
+totalStayAmountWoDiscount: 3045.0
+totalStayAmount: 3045.0
+finalAmountWoDiscount: 3654.0
+finalAmount: 3654.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
2 => App\DTO\RoomStayDTO {#2141
-marginRate: 20
-id: 25
-name: "Exclusive Suite"
-slug: "exclusive-suite"
-picture: "/uploads/rooms/25/666bdafc66b3c703347467.jpg"
-description: "Disposant de deux chambres à coucher, d’un coin salon séparé et de deux balcons offrant une vue splendide sur l’océan Indien, cette suite vous permet de profiter pleinement de vos vacances grâce à un confort incomparable. Avec sa chambre supplémentaire, elle est idéale pour les familles ou les couples en quête d’un séjour d’exception."
-stayTotalNights: 7
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "DEMI PENSION"
-mandatoryExtraId: 169
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:7 [
"2024-12-01" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 530
"kids_price" => 0
]
]
"amount" => 3710
]
]
-totalRoomAmount: 3710.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:1 [
0 => App\DTO\ExtraStayDTO {#2149
-marginRate: 20
+extraId: 169
+name: "Base Demi pension"
+description: null
+stayTotalNights: 7
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 3710.0
+totalStayAmountWoDiscount: 3710.0
+totalStayAmount: 3710.0
+finalAmountWoDiscount: 4452.0
+finalAmount: 4452.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
3 => App\DTO\RoomStayDTO {#2142
-marginRate: 20
-id: 23
-name: "Deluxe Suite"
-slug: "deluxe-suite"
-picture: "/uploads/rooms/23/666bda2555092060530053.jpg"
-description: "Leur terrasse privative vous permet de vous installer confortablement au soleil. Avec leur grande chambre à coucher aux tons neutres rehaussée d’une touche de couleur vive et leurs canapés, depuis lesquels vous profiterez d’une vue imprenable sur l’océan, ces suites vous garantissent un confort cinq étoiles."
-stayTotalNights: 7
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "DEMI PENSION"
-mandatoryExtraId: 169
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:7 [
"2024-12-01" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-02" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-03" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-04" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-05" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-06" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
"2024-12-07" => array:2 [
"adults_price" => 380
"kids_price" => 0
]
]
"amount" => 2660
]
]
-totalRoomAmount: 2660.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:1 [
0 => App\DTO\ExtraStayDTO {#2162
-marginRate: 20
+extraId: 169
+name: "Base Demi pension"
+description: null
+stayTotalNights: 7
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2660.0
+totalStayAmountWoDiscount: 2660.0
+totalStayAmount: 2660.0
+finalAmountWoDiscount: 3192.0
+finalAmount: 3192.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"
2 in
RoomStayCalculation.php
line 274:
{
$offers_eligibled = [];
if ($this->debug) {
dump('All available offers of the hotel', $offers);
}
foreach ($offers as $key => $offer) {
Doctrine\Common\Collections\ArrayCollection {#2335
-elements: array:6 [
0 => App\Entity\Offers {#2184
-id: 28
-title: "Free Nights Offer 2=3"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1500
-id: 4
-name: "Sands Suites Resort & Spa"
-description: """
Le Sands Suites Resort & Spa est située sur la plage la plus préservée de Flic en Flac.\r\n
Située sur la côte ouest de l’île Maurice, le complexe jouit d’une situation privilégiée et offre une vue panoramique sur le lagon turquoise de la baie de Tamarin et sur l’imposante montagne du Morne.\r\n
\r\n
\r\n
\r\n
greenglobe.com\r\n
Certifiée Green Globe, cet hôtel de charme offre une expérience exquise dans une atmosphère paisible et sereine. \r\n
Cet environnement éthéré est dû aux incroyables paysages naturels ainsi qu’à l’architecture et au décor uniques du complexe, qui contribuent tous à faire de ce lieu un véritable coin de paradis sur la côte ouest de l’île.
"""
-website: "https://sands.mu/"
-stars: 4
-youtubeVideoId: "GH2hMziS_84"
-phone: "+230 403 1200"
-email: "info@sands.mu"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3741.609756838938!2d57.36923311217644!3d-20.31641388108213!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217c4179ae900001%3A0x3af8e3a7a6c4a114!2sSands%20Suites%20Resort%20%26%20Spa!5e0!3m2!1sfr!2sfr!4v1718968719570!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Ouest"
-createdAt: DateTimeImmutable @1714145854 {#1505
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672825 {#1504
date: 2024-10-23 08:40:25.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1629
#collection: Doctrine\Common\Collections\ArrayCollection {#1630
-elements: array:4 [
0 => App\Entity\Rooms {#1936
-id: 22
-name: "Superior Suite"
-description: "Des suites spacieuses de style moderne joliment décorées et éclairées. Afin de vous offrir une expérience luxueuse, elles disposent de grands lits, de canapés et d’un balcon privatif faisant face à l’océan. Ces chambres étant situées aux premier et deuxième étages, elles vous offrent une superbe vue sur le lagon bleu azur."
-active: true
-hotel: App\Entity\Hotels {#1500}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2037
-elements: array:1 [
0 => App\Entity\RoomPrices {#1907
-id: 2281
-title: "Superior Suite"
-room: App\Entity\Rooms {#1936}
-quantity: 52
-stayStartedAt: DateTimeImmutable @1733011200 {#1941
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1940
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1939
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1938
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "355.00"
-singleOccupancy: "355.00"
-tripleOccupancy: "130.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1934
#collection: Doctrine\Common\Collections\ArrayCollection {#1933
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1936}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1609 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1822 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1929
#collection: Doctrine\Common\Collections\ArrayCollection {#1927
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1966
-id: 1716
-room: App\Entity\Rooms {#1936}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1848
-id: 1717
-room: App\Entity\Rooms {#1936}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1880
-id: 1718
-room: App\Entity\Rooms {#1936}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1936}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1606 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1932 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1874
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400954 {#1883
date: 2024-12-05 12:15:54.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd96c0c24f150323897.jpg"
-gallery: App\Entity\Galleries {#1904
-id: 175
-hotel: null
-room: App\Entity\Rooms {#1936}
-images: Doctrine\ORM\PersistentCollection {#1910
#collection: Doctrine\Common\Collections\ArrayCollection {#1897
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1904}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "Sands suite superieure"
}
-mediaDirSlug: "22"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "superior-suite"
}
1 => App\Entity\Rooms {#1892
-id: 24
-name: "Beachfront Suite"
-description: """
Emplacement en bord de plage privilégié Vue sur la baie de Tamarin Demi-pension possible\r\n
\r\n
Chaque suite dispose d’une terrasse ou d’un balcon privatif et offre l’une des vues les plus spectaculaires de l’île. Ces suites spacieuses sont de véritables havres de paix où vous pourrez vous détendre à toute heure de la journée, profiter du confort d’un grand salon et admirer la superbe baie de Tamarin.
"""
-active: true
-hotel: App\Entity\Hotels {#1500}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2067
-elements: array:1 [
0 => App\Entity\RoomPrices {#1843
-id: 2295
-title: "Beachfront Suite"
-room: App\Entity\Rooms {#1892}
-quantity: 12
-stayStartedAt: DateTimeImmutable @1733011200 {#1913
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1889
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1890
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1891
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "435.00"
-singleOccupancy: "435.00"
-tripleOccupancy: "130.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1893
#collection: Doctrine\Common\Collections\ArrayCollection {#1894
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1892}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1609 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1822 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1895
#collection: Doctrine\Common\Collections\ArrayCollection {#1886
-elements: array:3 [
0 => App\Entity\RoomCapacities {#2083
-id: 1747
-room: App\Entity\Rooms {#1892}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2032
-id: 1748
-room: App\Entity\Rooms {#1892}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2071
-id: 1749
-room: App\Entity\Rooms {#1892}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1892}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1606 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1932 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1896
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400974 {#1912
date: 2024-12-05 12:16:14.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bda9a245bc503124079.jpg"
-gallery: App\Entity\Galleries {#1844
-id: 177
-hotel: null
-room: App\Entity\Rooms {#1892}
-images: Doctrine\ORM\PersistentCollection {#1851
#collection: Doctrine\Common\Collections\ArrayCollection {#1852
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1844}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "Sands beachfront suite"
}
-mediaDirSlug: "24"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "beachfront-suite"
}
2 => App\Entity\Rooms {#1863
-id: 25
-name: "Exclusive Suite"
-description: "Disposant de deux chambres à coucher, d’un coin salon séparé et de deux balcons offrant une vue splendide sur l’océan Indien, cette suite vous permet de profiter pleinement de vos vacances grâce à un confort incomparable. Avec sa chambre supplémentaire, elle est idéale pour les familles ou les couples en quête d’un séjour d’exception."
-active: true
-hotel: App\Entity\Hotels {#1500}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2094
-elements: array:1 [
0 => App\Entity\RoomPrices {#1871
-id: 2302
-title: "Exclusive Suite"
-room: App\Entity\Rooms {#1863}
-quantity: 1
-stayStartedAt: DateTimeImmutable @1733011200 {#1857
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1858
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1859
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1861
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "530.00"
-singleOccupancy: "530.00"
-tripleOccupancy: "130.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1864
#collection: Doctrine\Common\Collections\ArrayCollection {#1865
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1863}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1609 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1822 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1866
#collection: Doctrine\Common\Collections\ArrayCollection {#1868
-elements: array:3 [
0 => App\Entity\RoomCapacities {#2110
-id: 1762
-room: App\Entity\Rooms {#1863}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2023
-id: 1763
-room: App\Entity\Rooms {#1863}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2098
-id: 3474
-room: App\Entity\Rooms {#1863}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1863}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1606 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1932 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1854
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400990 {#1856
date: 2024-12-05 12:16:30.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bdafc66b3c703347467.jpg"
-gallery: App\Entity\Galleries {#1872
-id: 178
-hotel: null
-room: App\Entity\Rooms {#1863}
-images: Doctrine\ORM\PersistentCollection {#1873
#collection: Doctrine\Common\Collections\ArrayCollection {#1875
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1872}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "Sands suite exclusive"
}
-mediaDirSlug: "25"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "exclusive-suite"
}
3 => App\Entity\Rooms {#1831
-id: 23
-name: "Deluxe Suite"
-description: "Leur terrasse privative vous permet de vous installer confortablement au soleil. Avec leur grande chambre à coucher aux tons neutres rehaussée d’une touche de couleur vive et leurs canapés, depuis lesquels vous profiterez d’une vue imprenable sur l’océan, ces suites vous garantissent un confort cinq étoiles."
-active: true
-hotel: App\Entity\Hotels {#1500}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2121
-elements: array:1 [
0 => App\Entity\RoomPrices {#2039
-id: 2288
-title: "Deluxe Suite"
-room: App\Entity\Rooms {#1831}
-quantity: 26
-stayStartedAt: DateTimeImmutable @1733054400 {#1878
date: 2024-12-01 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734609600 {#1879
date: 2024-12-19 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1881
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1855
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "380.00"
-singleOccupancy: "380.00"
-tripleOccupancy: "130.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1888
#collection: Doctrine\Common\Collections\ArrayCollection {#1845
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1831}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1609 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1822 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1834
#collection: Doctrine\Common\Collections\ArrayCollection {#1862
-elements: array:3 [
0 => App\Entity\RoomCapacities {#2137
-id: 1733
-room: App\Entity\Rooms {#1831}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2092
-id: 1734
-room: App\Entity\Rooms {#1831}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2125
-id: 1735
-room: App\Entity\Rooms {#1831}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1831}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1606 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1932 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1876
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400961 {#1877
date: 2024-12-05 12:16:01.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bda2555092060530053.jpg"
-gallery: App\Entity\Galleries {#2033
-id: 176
-hotel: null
-room: App\Entity\Rooms {#1831}
-images: Doctrine\ORM\PersistentCollection {#2026
#collection: Doctrine\Common\Collections\ArrayCollection {#2021
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2033}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "Sands deluxe suite"
}
-mediaDirSlug: "23"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "deluxe-suite"
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-owner: App\Entity\Hotels {#1500}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1538 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1498 …}
}
-address: "Route Côtiere Wolmar, Flic En Flac, Île Maurice"
-checkInTime: "14:00"
-checkOutTime: "11:00"
-babyAgeMax: "4"
-childAgeMax: "11"
-teenAgeMax: "99"
-extraCharges: Doctrine\ORM\PersistentCollection {#1626
#collection: Doctrine\Common\Collections\ArrayCollection {#1624
-elements: array:2 [
0 => App\Entity\ExtraCharges {#2150
-id: 169
-title: "Base Demi pension"
-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 {#1500}
}
1 => App\Entity\ExtraCharges {#2161
-id: 197
-title: "Nouvel An"
-description: null
-adultExtra: 230.0
-babyExtra: null
-childExtra: null
-teenExtra: 230.0
-stayStartedAt: DateTimeImmutable @1735603200 {#2158
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#2160
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1500}
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-owner: App\Entity\Hotels {#1500}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1539 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-imageFile: null
-featuredImage: "66965dbe6119f172273068.jpg"
-gallery: App\Entity\Galleries {#1669
-id: 53
-hotel: App\Entity\Hotels {#1500}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1682
#collection: Doctrine\Common\Collections\ArrayCollection {#1681
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1669}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "Hotel Sands"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#2335}
-highlighted: true
-services: array:1 [
0 => ""
]
-hlStartAt: DateTimeImmutable @1733011200 {#1503
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-hlEndAt: DateTimeImmutable @1733616000 {#1502
date: 2024-12-08 00:00:00.0 UTC (+00:00)
}
-slug: "sands-suites-resort-spa"
}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2176
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2173
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2175
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2181
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Free Nights Offer 2=3"
-minNights: 3
-maxNights: 3
-earlyBookingDays: 3
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#2186
#collection: Doctrine\Common\Collections\ArrayCollection {#2187
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2184}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1747 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1498 …}
}
-discount: 33
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2188
#collection: Doctrine\Common\Collections\ArrayCollection {#2189
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2184}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2244
#collection: Doctrine\Common\Collections\ArrayCollection {#2245
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2184}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1757 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2246
#collection: Doctrine\Common\Collections\ArrayCollection {#2247
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2184}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2248
#collection: Doctrine\Common\Collections\ArrayCollection {#2249
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2184}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#2254
-id: 29
-title: "Free Nights Offer 3=4"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1500}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2250
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2251
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2252
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2253
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Free Nights Offer 3=4"
-minNights: 4
-maxNights: 4
-earlyBookingDays: 4
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#2255
#collection: Doctrine\Common\Collections\ArrayCollection {#2256
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2254}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1747 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1498 …}
}
-discount: 25
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2257
#collection: Doctrine\Common\Collections\ArrayCollection {#2258
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2254}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2259
#collection: Doctrine\Common\Collections\ArrayCollection {#2260
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2254}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1757 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2261
#collection: Doctrine\Common\Collections\ArrayCollection {#2262
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2254}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2263
#collection: Doctrine\Common\Collections\ArrayCollection {#2264
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2254}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
2 => App\Entity\Offers {#2269
-id: 30
-title: "Free Nights Offer 4=6"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1500}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2265
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2266
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2267
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2268
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Free Nights Offer 4=6"
-minNights: 6
-maxNights: 6
-earlyBookingDays: 6
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#2270
#collection: Doctrine\Common\Collections\ArrayCollection {#2271
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2269}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1747 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1498 …}
}
-discount: 33
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2272
#collection: Doctrine\Common\Collections\ArrayCollection {#2273
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2269}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2274
#collection: Doctrine\Common\Collections\ArrayCollection {#2275
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2269}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1757 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2276
#collection: Doctrine\Common\Collections\ArrayCollection {#2277
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2269}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2278
#collection: Doctrine\Common\Collections\ArrayCollection {#2279
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2269}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
3 => App\Entity\Offers {#2284
-id: 31
-title: "EARLY BOOKING Sands"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1500}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2280
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2281
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2282
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2283
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "EB60"
-minNights: 5
-maxNights: null
-earlyBookingDays: 60
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#2285
#collection: Doctrine\Common\Collections\ArrayCollection {#2286
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2284}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1747 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1498 …}
}
-discount: 15
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2287
#collection: Doctrine\Common\Collections\ArrayCollection {#2288
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2284}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2289
#collection: Doctrine\Common\Collections\ArrayCollection {#2290
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2284}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1757 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2291
#collection: Doctrine\Common\Collections\ArrayCollection {#2292
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2284}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2293
#collection: Doctrine\Common\Collections\ArrayCollection {#2294
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2284}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
4 => App\Entity\Offers {#2299
-id: 32
-title: "Free Nights Offer 5=7"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1500}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2295
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2296
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2297
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2298
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Free Nights Offer 5=7"
-minNights: 7
-maxNights: 7
-earlyBookingDays: 7
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#2300
#collection: Doctrine\Common\Collections\ArrayCollection {#2301
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2299}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1747 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1498 …}
}
-discount: 28
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2302
#collection: Doctrine\Common\Collections\ArrayCollection {#2303
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2299}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2304
#collection: Doctrine\Common\Collections\ArrayCollection {#2305
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2299}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1757 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2306
#collection: Doctrine\Common\Collections\ArrayCollection {#2307
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2299}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2308
#collection: Doctrine\Common\Collections\ArrayCollection {#2309
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2299}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
5 => App\Entity\Offers {#2314
-id: 200
-title: "Free Nights Offer 4=5"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1500}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2310
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2311
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2312
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2313
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Free Nights Offer 4=5"
-minNights: 5
-maxNights: 5
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#2315
#collection: Doctrine\Common\Collections\ArrayCollection {#2316
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2314}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1747 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1498 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2317
#collection: Doctrine\Common\Collections\ArrayCollection {#2318
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2314}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2319
#collection: Doctrine\Common\Collections\ArrayCollection {#2320
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2314}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1757 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2321
#collection: Doctrine\Common\Collections\ArrayCollection {#2322
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2314}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2323
#collection: Doctrine\Common\Collections\ArrayCollection {#2324
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2314}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
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) {
array:6 [
0 => App\DTO\PromotionDTO {#2480
-debug: true
+id: 28
+title: "Free Nights Offer 2=3"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 2=3"
+from: DateTimeImmutable @1704067200 {#2176
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2173
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: 3
+minNights: 3
+maxNights: 3
+discountRate: 33
+discountFamilyRates: []
+combinableRate: null
+priority: 2
+extrasDiscountRate: null
+isAllRooms: true
+isCombinable: false
+selectedRoomsIDs: []
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
1 => App\DTO\PromotionDTO {#2484
-debug: true
+id: 29
+title: "Free Nights Offer 3=4"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 3=4"
+from: DateTimeImmutable @1704067200 {#2250
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2251
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: 4
+minNights: 4
+maxNights: 4
+discountRate: 25
+discountFamilyRates: []
+combinableRate: null
+priority: 2
+extrasDiscountRate: null
+isAllRooms: true
+isCombinable: false
+selectedRoomsIDs: []
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
2 => App\DTO\PromotionDTO {#2508
-debug: true
+id: 30
+title: "Free Nights Offer 4=6"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 4=6"
+from: DateTimeImmutable @1704067200 {#2265
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2266
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: 6
+minNights: 6
+maxNights: 6
+discountRate: 33
+discountFamilyRates: []
+combinableRate: null
+priority: 2
+extrasDiscountRate: null
+isAllRooms: true
+isCombinable: false
+selectedRoomsIDs: []
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
3 => App\DTO\PromotionDTO {#2794
-debug: true
+id: 31
+title: "EARLY BOOKING Sands"
+description: null
+type: "EarlyBooking"
+reference: "EB60"
+from: DateTimeImmutable @1704067200 {#2280
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2281
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: 60
+minNights: 5
+maxNights: null
+discountRate: 15
+discountFamilyRates: []
+combinableRate: null
+priority: 2
+extrasDiscountRate: null
+isAllRooms: true
+isCombinable: false
+selectedRoomsIDs: []
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
4 => App\DTO\PromotionDTO {#2804
-debug: true
+id: 32
+title: "Free Nights Offer 5=7"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 5=7"
+from: DateTimeImmutable @1704067200 {#2295
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2296
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: 7
+minNights: 7
+maxNights: 7
+discountRate: 28
+discountFamilyRates: []
+combinableRate: null
+priority: 2
+extrasDiscountRate: null
+isAllRooms: true
+isCombinable: false
+selectedRoomsIDs: []
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
5 => App\DTO\PromotionDTO {#2801
-debug: true
+id: 200
+title: "Free Nights Offer 4=5"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 4=5"
+from: DateTimeImmutable @1704067200 {#2310
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2311
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: null
+minNights: 5
+maxNights: 5
+discountRate: 20
+discountFamilyRates: []
+combinableRate: null
+priority: 2
+extrasDiscountRate: null
+isAllRooms: true
+isCombinable: false
+selectedRoomsIDs: []
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
]
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 : InterContinental Resort - Chambre : #76 - Deluxe Face mer 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 {#1558
+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 {#3014
+rpId: 1495
+adultsPrice: 370
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2151
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2794
date: 2025-01-22 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:7 [
"2025-01-15" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
]
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 : InterContinental Resort - Chambre : #77 - Prestige Vue mer 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 {#1558
+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 {#2829
+rpId: 1501
+adultsPrice: 395
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2151
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2794
date: 2025-01-22 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:7 [
"2025-01-15" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
]
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 : InterContinental Resort - Chambre : #78 - Terrace Suite 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 {#1558
+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 {#3067
+rpId: 1507
+adultsPrice: 420
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2151
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2794
date: 2025-01-22 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:7 [
"2025-01-15" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
]
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 : InterContinental Resort - Chambre : #79 - Family Room 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 {#1558
+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 {#3108
+rpId: 1513
+adultsPrice: 520
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2151
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2794
date: 2025-01-22 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:7 [
"2025-01-15" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
]
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 : InterContinental Resort - Chambre : #80 - Duplex Suite 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 {#1558
+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 {#3149
+rpId: 1519
+adultsPrice: 620
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2151
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2794
date: 2025-01-22 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:7 [
"2025-01-15" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 620
"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:5 [
0 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1558
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
"room_id" => 76
"room_picture" => "/uploads/rooms/76/666aebaf5e554743585272.jpg"
"room_name" => "Deluxe Face mer"
"room_slug" => "deluxe-face-mer"
"room_description" => """
Les chambres du premier, deuxième et troisième étage de l’hôtel font toutes 56 mètres carré et possèdent une vue tropicale et une chaleureuse ambiance. Surplombant les jardins et l’océan Indien le décor intérieur comprend des éléments d’artisanat Mauriciens, de textiles tissés à la main, des meubles fait mains et des objets d’art qui offrent un charme local unique. Les chambres du rez de chaussée offrent un accès direct aux jardins et à la plage.\r\n
\r\n
Les salles de bain en marbre créent une atmosphère de spa avec une profonde baignoire et une douche. Sur les balcons, des meubles confortables permettent aux clients de jouir d’une vue sur le jardin et le coucher de soleil.\r\n
\r\n
De très grand lit ou de lits jumeaux sont disponibles, avec une capacité maximale de 2 adultes et 1 enfant de moins de 12 ans.
"""
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1495
"adult_amount" => 2590
"children_amount" => 0
"basis_amount" => 2590
"mandatoryExtraId" => null
"default_extra_label" => "Demi Pension"
"dates_prices" => array:7 [
"2025-01-15" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
]
]
]
1 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1558}
"room_id" => 77
"room_picture" => "/uploads/rooms/77/666aebea88d98706732414.jpg"
"room_name" => "Prestige Vue mer"
"room_slug" => "prestige-vue-mer"
"room_description" => """
Les chambres d’une superficie de 56 mètres carré possèdent une vue mer sur l’Océan Indien. Surplombant les jardins et l’océan Indien le décor intérieur comprend des éléments d’artisanat Mauriciens, de textiles tissés à la main, des meubles fait mains et des objets d’art qui offrent un charme local unique. Les chambres du rez de chaussée offrent un accès direct aux jardins et à la plage.\r\n
\r\n
Les salles de bain en marbre créent une atmosphère de spa avec une profonde baignoire et une douche à l’italienne séparée. Le mobilier extérieur des terrasses permet aux clients de jouir d’une vue sur l’Ócéan Indien et des magnifiques couchers de soleil.\r\n
\r\n
De très grand lit ou de lits jumeaux sont disponibles, avec une capacité maximale de 2 adultes et 1 enfant de moins de 12 ans.
"""
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1501
"adult_amount" => 2765
"children_amount" => 0
"basis_amount" => 2765
"mandatoryExtraId" => null
"default_extra_label" => "Demi Pension"
"dates_prices" => array:7 [
"2025-01-15" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
]
]
]
2 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1558}
"room_id" => 78
"room_picture" => "/uploads/rooms/78/666aec0f4cdb1843384550.jpg"
"room_name" => "Terrace Suite"
"room_slug" => "terrace-suite"
"room_description" => "Un havre de paix pour les couples en quête de romantisme. La chambre de 56 mètre carrés a également une terrasse de 33 mètre carrés équipée d' un bain a remous et faisant face à l’océan. Meublées dans un style contemporain chic et luxueux, les chambres sont pourvues d’une spacieuse salle de bain avec double vasque, baignoire profonde en pierre et d’une douche. Elles sont situées au deuxième étage de l’hôtel, chacune offrant des vues différentes."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1507
"adult_amount" => 2940
"children_amount" => 0
"basis_amount" => 2940
"mandatoryExtraId" => null
"default_extra_label" => "Demi Pension"
"dates_prices" => array:7 [
"2025-01-15" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
]
]
]
3 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1558}
"room_id" => 79
"room_picture" => "/uploads/rooms/79/666aecbbcd812481373213.jpg"
"room_name" => "Family Room"
"room_slug" => "family-room"
"room_description" => """
Endroit plus spacieux de 72 mètres carrés qui se compose d’une chambre principale avec un grand lit et d’une deuxième chambre à coucher avec deux lits simples; offrant intimité et paix à tous les membres de la famille. La salle de bain de la chambre famille comporte un wc, une double vasque, une baignoire en pierre et une douche pour une détente ultime.\r\n
\r\n
Sur un balcon meublé et privé, vous pourrez admirer la vue sur Balaclava et peut être profiter du coucher de soleil. Les chambres disposent d'une porte communicante, permettant aux clients de profiter d’une ambiance familiale ou même d’un peu d’intimité.\r\n
\r\n
Capacité Maximale : 4 clients (2 adultes & 2 enfants ou 3 adultes & 1 enfant)
"""
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1513
"adult_amount" => 3640
"children_amount" => 0
"basis_amount" => 3640
"mandatoryExtraId" => null
"default_extra_label" => "Demi Pension"
"dates_prices" => array:7 [
"2025-01-15" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
]
]
]
4 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1558}
"room_id" => 80
"room_picture" => "/uploads/rooms/80/6718967b7591a281527865.jpeg"
"room_name" => "Duplex Suite"
"room_slug" => "duplex-suite-2"
"room_description" => "Chaque suite en duplex offre le summum en matière de luxe. Offrant 300 mètres carrés d’espace, ces suites sont parfaites pour les clients souhaitant vivre une exaltante expérience en se faisant chouchouter. Elles sont situées sur les étages supérieures de l’hôtel, avec deux terrasses chacune –une avec un jacuzzi et l’autre avec des chaises longues. L’étage au -dessous comporte un séjour et salle à manger, parfaite pour les réceptions, tandis que l’autre étage comprend une chambre principale avec une élégante salle de bains. Vous pourrez admirer la vue sur l’Ocean Indien."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1519
"adult_amount" => 4340
"children_amount" => 0
"basis_amount" => 4340
"mandatoryExtraId" => null
"default_extra_label" => "Demi Pension"
"dates_prices" => array:7 [
"2025-01-15" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 620
"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:5 [
0 => App\DTO\RoomStayDTO {#2801
-marginRate: 20
-id: 76
-name: "Deluxe Face mer"
-slug: "deluxe-face-mer"
-picture: "/uploads/rooms/76/666aebaf5e554743585272.jpg"
-description: """
Les chambres du premier, deuxième et troisième étage de l’hôtel font toutes 56 mètres carré et possèdent une vue tropicale et une chaleureuse ambiance. Surplombant les jardins et l’océan Indien le décor intérieur comprend des éléments d’artisanat Mauriciens, de textiles tissés à la main, des meubles fait mains et des objets d’art qui offrent un charme local unique. Les chambres du rez de chaussée offrent un accès direct aux jardins et à la plage.\r\n
\r\n
Les salles de bain en marbre créent une atmosphère de spa avec une profonde baignoire et une douche. Sur les balcons, des meubles confortables permettent aux clients de jouir d’une vue sur le jardin et le coucher de soleil.\r\n
\r\n
De très grand lit ou de lits jumeaux sont disponibles, avec une capacité maximale de 2 adultes et 1 enfant de moins de 12 ans.
"""
-stayTotalNights: 7
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "Demi Pension"
-mandatoryExtraId: 171
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:7 [
"2025-01-15" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 370
"kids_price" => 0
]
]
"amount" => 2590
]
]
-totalRoomAmount: 2590.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#3170
-marginRate: 20
+extraId: 171
+name: "Base Demi pension"
+description: null
+stayTotalNights: 7
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2590.0
+totalStayAmountWoDiscount: 2590.0
+totalStayAmount: 2590.0
+finalAmountWoDiscount: 3108.0
+finalAmount: 3108.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#3173
-marginRate: 20
+extraId: 1
+name: "Pension complète"
+description: null
+stayTotalNights: 7
+dailyAdults: 80
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 560
+kidsExtrasAmount: 0
+stayExtrasAmount: 560
+stayRoomAmount: 2590.0
+totalStayAmountWoDiscount: 3150.0
+totalStayAmount: 3150.0
+finalAmountWoDiscount: 3780.0
+finalAmount: 3780.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#3180
-marginRate: 20
+extraId: 50
+name: "Suppléments repas Tout compris"
+description: null
+stayTotalNights: 7
+dailyAdults: 180
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1260
+kidsExtrasAmount: 0
+stayExtrasAmount: 1260
+stayRoomAmount: 2590.0
+totalStayAmountWoDiscount: 3850.0
+totalStayAmount: 3850.0
+finalAmountWoDiscount: 4620.0
+finalAmount: 4620.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
1 => App\DTO\RoomStayDTO {#3152
-marginRate: 20
-id: 77
-name: "Prestige Vue mer"
-slug: "prestige-vue-mer"
-picture: "/uploads/rooms/77/666aebea88d98706732414.jpg"
-description: """
Les chambres d’une superficie de 56 mètres carré possèdent une vue mer sur l’Océan Indien. Surplombant les jardins et l’océan Indien le décor intérieur comprend des éléments d’artisanat Mauriciens, de textiles tissés à la main, des meubles fait mains et des objets d’art qui offrent un charme local unique. Les chambres du rez de chaussée offrent un accès direct aux jardins et à la plage.\r\n
\r\n
Les salles de bain en marbre créent une atmosphère de spa avec une profonde baignoire et une douche à l’italienne séparée. Le mobilier extérieur des terrasses permet aux clients de jouir d’une vue sur l’Ócéan Indien et des magnifiques couchers de soleil.\r\n
\r\n
De très grand lit ou de lits jumeaux sont disponibles, avec une capacité maximale de 2 adultes et 1 enfant de moins de 12 ans.
"""
-stayTotalNights: 7
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "Demi Pension"
-mandatoryExtraId: 171
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:7 [
"2025-01-15" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 395
"kids_price" => 0
]
]
"amount" => 2765
]
]
-totalRoomAmount: 2765.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#3181
-marginRate: 20
+extraId: 171
+name: "Base Demi pension"
+description: null
+stayTotalNights: 7
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2765.0
+totalStayAmountWoDiscount: 2765.0
+totalStayAmount: 2765.0
+finalAmountWoDiscount: 3318.0
+finalAmount: 3318.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#3182
-marginRate: 20
+extraId: 1
+name: "Pension complète"
+description: null
+stayTotalNights: 7
+dailyAdults: 80
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 560
+kidsExtrasAmount: 0
+stayExtrasAmount: 560
+stayRoomAmount: 2765.0
+totalStayAmountWoDiscount: 3325.0
+totalStayAmount: 3325.0
+finalAmountWoDiscount: 3990.0
+finalAmount: 3990.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#3183
-marginRate: 20
+extraId: 50
+name: "Suppléments repas Tout compris"
+description: null
+stayTotalNights: 7
+dailyAdults: 180
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1260
+kidsExtrasAmount: 0
+stayExtrasAmount: 1260
+stayRoomAmount: 2765.0
+totalStayAmountWoDiscount: 4025.0
+totalStayAmount: 4025.0
+finalAmountWoDiscount: 4830.0
+finalAmount: 4830.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
2 => App\DTO\RoomStayDTO {#3160
-marginRate: 20
-id: 78
-name: "Terrace Suite"
-slug: "terrace-suite"
-picture: "/uploads/rooms/78/666aec0f4cdb1843384550.jpg"
-description: "Un havre de paix pour les couples en quête de romantisme. La chambre de 56 mètre carrés a également une terrasse de 33 mètre carrés équipée d' un bain a remous et faisant face à l’océan. Meublées dans un style contemporain chic et luxueux, les chambres sont pourvues d’une spacieuse salle de bain avec double vasque, baignoire profonde en pierre et d’une douche. Elles sont situées au deuxième étage de l’hôtel, chacune offrant des vues différentes."
-stayTotalNights: 7
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "Demi Pension"
-mandatoryExtraId: 171
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:7 [
"2025-01-15" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 420
"kids_price" => 0
]
]
"amount" => 2940
]
]
-totalRoomAmount: 2940.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#3184
-marginRate: 20
+extraId: 171
+name: "Base Demi pension"
+description: null
+stayTotalNights: 7
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2940.0
+totalStayAmountWoDiscount: 2940.0
+totalStayAmount: 2940.0
+finalAmountWoDiscount: 3528.0
+finalAmount: 3528.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#3185
-marginRate: 20
+extraId: 1
+name: "Pension complète"
+description: null
+stayTotalNights: 7
+dailyAdults: 80
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 560
+kidsExtrasAmount: 0
+stayExtrasAmount: 560
+stayRoomAmount: 2940.0
+totalStayAmountWoDiscount: 3500.0
+totalStayAmount: 3500.0
+finalAmountWoDiscount: 4200.0
+finalAmount: 4200.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#3186
-marginRate: 20
+extraId: 50
+name: "Suppléments repas Tout compris"
+description: null
+stayTotalNights: 7
+dailyAdults: 180
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1260
+kidsExtrasAmount: 0
+stayExtrasAmount: 1260
+stayRoomAmount: 2940.0
+totalStayAmountWoDiscount: 4200.0
+totalStayAmount: 4200.0
+finalAmountWoDiscount: 5040.0
+finalAmount: 5040.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
3 => App\DTO\RoomStayDTO {#3161
-marginRate: 20
-id: 79
-name: "Family Room"
-slug: "family-room"
-picture: "/uploads/rooms/79/666aecbbcd812481373213.jpg"
-description: """
Endroit plus spacieux de 72 mètres carrés qui se compose d’une chambre principale avec un grand lit et d’une deuxième chambre à coucher avec deux lits simples; offrant intimité et paix à tous les membres de la famille. La salle de bain de la chambre famille comporte un wc, une double vasque, une baignoire en pierre et une douche pour une détente ultime.\r\n
\r\n
Sur un balcon meublé et privé, vous pourrez admirer la vue sur Balaclava et peut être profiter du coucher de soleil. Les chambres disposent d'une porte communicante, permettant aux clients de profiter d’une ambiance familiale ou même d’un peu d’intimité.\r\n
\r\n
Capacité Maximale : 4 clients (2 adultes & 2 enfants ou 3 adultes & 1 enfant)
"""
-stayTotalNights: 7
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "Demi Pension"
-mandatoryExtraId: 171
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:7 [
"2025-01-15" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
]
"amount" => 3640
]
]
-totalRoomAmount: 3640.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#3187
-marginRate: 20
+extraId: 171
+name: "Base Demi pension"
+description: null
+stayTotalNights: 7
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 3640.0
+totalStayAmountWoDiscount: 3640.0
+totalStayAmount: 3640.0
+finalAmountWoDiscount: 4368.0
+finalAmount: 4368.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#3188
-marginRate: 20
+extraId: 1
+name: "Pension complète"
+description: null
+stayTotalNights: 7
+dailyAdults: 80
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 560
+kidsExtrasAmount: 0
+stayExtrasAmount: 560
+stayRoomAmount: 3640.0
+totalStayAmountWoDiscount: 4200.0
+totalStayAmount: 4200.0
+finalAmountWoDiscount: 5040.0
+finalAmount: 5040.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#3189
-marginRate: 20
+extraId: 50
+name: "Suppléments repas Tout compris"
+description: null
+stayTotalNights: 7
+dailyAdults: 180
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1260
+kidsExtrasAmount: 0
+stayExtrasAmount: 1260
+stayRoomAmount: 3640.0
+totalStayAmountWoDiscount: 4900.0
+totalStayAmount: 4900.0
+finalAmountWoDiscount: 5880.0
+finalAmount: 5880.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
4 => App\DTO\RoomStayDTO {#3162
-marginRate: 20
-id: 80
-name: "Duplex Suite"
-slug: "duplex-suite-2"
-picture: "/uploads/rooms/80/6718967b7591a281527865.jpeg"
-description: "Chaque suite en duplex offre le summum en matière de luxe. Offrant 300 mètres carrés d’espace, ces suites sont parfaites pour les clients souhaitant vivre une exaltante expérience en se faisant chouchouter. Elles sont situées sur les étages supérieures de l’hôtel, avec deux terrasses chacune –une avec un jacuzzi et l’autre avec des chaises longues. L’étage au -dessous comporte un séjour et salle à manger, parfaite pour les réceptions, tandis que l’autre étage comprend une chambre principale avec une élégante salle de bains. Vous pourrez admirer la vue sur l’Ocean Indien."
-stayTotalNights: 7
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "Demi Pension"
-mandatoryExtraId: 171
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:7 [
"2025-01-15" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-16" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-17" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-18" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-19" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-20" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
"2025-01-21" => array:2 [
"adults_price" => 620
"kids_price" => 0
]
]
"amount" => 4340
]
]
-totalRoomAmount: 4340.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#3190
-marginRate: 20
+extraId: 171
+name: "Base Demi pension"
+description: null
+stayTotalNights: 7
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 4340.0
+totalStayAmountWoDiscount: 4340.0
+totalStayAmount: 4340.0
+finalAmountWoDiscount: 5208.0
+finalAmount: 5208.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#3191
-marginRate: 20
+extraId: 1
+name: "Pension complète"
+description: null
+stayTotalNights: 7
+dailyAdults: 80
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 560
+kidsExtrasAmount: 0
+stayExtrasAmount: 560
+stayRoomAmount: 4340.0
+totalStayAmountWoDiscount: 4900.0
+totalStayAmount: 4900.0
+finalAmountWoDiscount: 5880.0
+finalAmount: 5880.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#3192
-marginRate: 20
+extraId: 50
+name: "Suppléments repas Tout compris"
+description: null
+stayTotalNights: 7
+dailyAdults: 180
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1260
+kidsExtrasAmount: 0
+stayExtrasAmount: 1260
+stayRoomAmount: 4340.0
+totalStayAmountWoDiscount: 5600.0
+totalStayAmount: 5600.0
+finalAmountWoDiscount: 6720.0
+finalAmount: 6720.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"
2 in
RoomStayCalculation.php
line 274:
{
$offers_eligibled = [];
if ($this->debug) {
dump('All available offers of the hotel', $offers);
}
foreach ($offers as $key => $offer) {
Doctrine\Common\Collections\ArrayCollection {#3294
-elements: array:1 [
0 => App\Entity\Offers {#3228
-id: 4
-title: "EARLY BOOKING INTERCONTINENTAL"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1776
-id: 13
-name: "InterContinental Resort"
-description: """
Destination exceptionnelle où l'hospitalité mauricienne rencontre le luxe, l'InterContinental.\r\n
\r\n
Mauritius Resort est une propriété en bord de mer située sur le rivage de la plage de Balaclava. Le Resort dispose de 210 chambres et suites. \r\n
\r\n
Le Resort présente l'hôte idéal comme destination de mariage ainsi que les groupes d'affaires à la recherche de réunions uniques.
"""
-website: "https://www.ihg.com/intercontinental/hotels/fr/fr/balaclava/mruma/hoteldetail"
-stars: 5
-youtubeVideoId: "6lQKIgJEWWQ"
-phone: "+33 800907458"
-email: "info.icmauritius@ihg.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3746.967717962049!2d57.50640931217262!3d-20.093636281254103!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217c530379e2b919%3A0x2b608fa52d679566!2sInterContinental%20Resort%20Mauritius%2C%20an%20IHG%20Hotel!5e0!3m2!1sfr!2sfr!4v1718969200033!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Nord-Ouest"
-createdAt: DateTimeImmutable @1714145854 {#1708
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1734514469 {#1773
date: 2024-12-18 09:34:29.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1777
#collection: Doctrine\Common\Collections\ArrayCollection {#1778
-elements: array:5 [
0 => App\Entity\Rooms {#2976
-id: 76
-name: "Deluxe Face mer"
-description: """
Les chambres du premier, deuxième et troisième étage de l’hôtel font toutes 56 mètres carré et possèdent une vue tropicale et une chaleureuse ambiance. Surplombant les jardins et l’océan Indien le décor intérieur comprend des éléments d’artisanat Mauriciens, de textiles tissés à la main, des meubles fait mains et des objets d’art qui offrent un charme local unique. Les chambres du rez de chaussée offrent un accès direct aux jardins et à la plage.\r\n
\r\n
Les salles de bain en marbre créent une atmosphère de spa avec une profonde baignoire et une douche. Sur les balcons, des meubles confortables permettent aux clients de jouir d’une vue sur le jardin et le coucher de soleil.\r\n
\r\n
De très grand lit ou de lits jumeaux sont disponibles, avec une capacité maximale de 2 adultes et 1 enfant de moins de 12 ans.
"""
-active: true
-hotel: App\Entity\Hotels {#1776}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3003
-elements: array:1 [
0 => App\Entity\RoomPrices {#2969
-id: 1495
-title: "InterContinental - Deluxe Face mer - Shoulder"
-room: App\Entity\Rooms {#2976}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2980
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2979
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2978
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2977
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 3
-doubleOccupancy: "370.00"
-singleOccupancy: "340.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: null
-defaultExtraLabel: "Demi Pension"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#2975
#collection: Doctrine\Common\Collections\ArrayCollection {#2974
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2976}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1609 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1822 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2973
#collection: Doctrine\Common\Collections\ArrayCollection {#2972
-elements: array:11 [
0 => App\Entity\RoomCapacities {#3033
-id: 2535
-room: App\Entity\Rooms {#2976}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2881
-id: 3339
-room: App\Entity\Rooms {#2976}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2912
-id: 3340
-room: App\Entity\Rooms {#2976}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#2899
-id: 3341
-room: App\Entity\Rooms {#2976}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#2888
-id: 3342
-room: App\Entity\Rooms {#2976}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#2988
-id: 3343
-room: App\Entity\Rooms {#2976}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3045
-id: 3344
-room: App\Entity\Rooms {#2976}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3047
-id: 3345
-room: App\Entity\Rooms {#2976}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#2930
-id: 3346
-room: App\Entity\Rooms {#2976}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2890
-id: 3347
-room: App\Entity\Rooms {#2976}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#2882
-id: 3348
-room: App\Entity\Rooms {#2976}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:11 [ …11]
-owner: App\Entity\Rooms {#2976}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1606 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1932 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2905
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#2896
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aebaf5e554743585272.jpg"
-gallery: App\Entity\Galleries {#2968
-id: 89
-hotel: null
-room: App\Entity\Rooms {#2976}
-images: Doctrine\ORM\PersistentCollection {#2967
#collection: Doctrine\Common\Collections\ArrayCollection {#2966
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2968}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "Intercontinental chambre deluxe face mer"
}
-mediaDirSlug: "76"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "deluxe-face-mer"
}
1 => App\Entity\Rooms {#2959
-id: 77
-name: "Prestige Vue mer"
-description: """
Les chambres d’une superficie de 56 mètres carré possèdent une vue mer sur l’Océan Indien. Surplombant les jardins et l’océan Indien le décor intérieur comprend des éléments d’artisanat Mauriciens, de textiles tissés à la main, des meubles fait mains et des objets d’art qui offrent un charme local unique. Les chambres du rez de chaussée offrent un accès direct aux jardins et à la plage.\r\n
\r\n
Les salles de bain en marbre créent une atmosphère de spa avec une profonde baignoire et une douche à l’italienne séparée. Le mobilier extérieur des terrasses permet aux clients de jouir d’une vue sur l’Ócéan Indien et des magnifiques couchers de soleil.\r\n
\r\n
De très grand lit ou de lits jumeaux sont disponibles, avec une capacité maximale de 2 adultes et 1 enfant de moins de 12 ans.
"""
-active: true
-hotel: App\Entity\Hotels {#1776}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3025
-elements: array:1 [
0 => App\Entity\RoomPrices {#2952
-id: 1501
-title: "InterContinental - Prestige Vue mer - Shoulder"
-room: App\Entity\Rooms {#2959}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2963
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2962
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2961
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2960
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 3
-doubleOccupancy: "395.00"
-singleOccupancy: "365.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: null
-defaultExtraLabel: "Demi Pension"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#2958
#collection: Doctrine\Common\Collections\ArrayCollection {#2957
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2959}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1609 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1822 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2956
#collection: Doctrine\Common\Collections\ArrayCollection {#2955
-elements: array:12 [
0 => App\Entity\RoomCapacities {#3036
-id: 2545
-room: App\Entity\Rooms {#2959}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3008
-id: 3349
-room: App\Entity\Rooms {#2959}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3048
-id: 3350
-room: App\Entity\Rooms {#2959}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3030
-id: 3351
-room: App\Entity\Rooms {#2959}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3042
-id: 3352
-room: App\Entity\Rooms {#2959}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3040
-id: 3353
-room: App\Entity\Rooms {#2959}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3038
-id: 3354
-room: App\Entity\Rooms {#2959}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3041
-id: 3355
-room: App\Entity\Rooms {#2959}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3046
-id: 3356
-room: App\Entity\Rooms {#2959}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2879
-id: 3357
-room: App\Entity\Rooms {#2959}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3049
-id: 3358
-room: App\Entity\Rooms {#2959}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#2998
-id: 3359
-room: App\Entity\Rooms {#2959}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:12 [ …12]
-owner: App\Entity\Rooms {#2959}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1606 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1932 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2965
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733330060 {#2964
date: 2024-12-04 16:34:20.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aebea88d98706732414.jpg"
-gallery: App\Entity\Galleries {#2951
-id: 170
-hotel: null
-room: App\Entity\Rooms {#2959}
-images: Doctrine\ORM\PersistentCollection {#2950
#collection: Doctrine\Common\Collections\ArrayCollection {#2949
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2951}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "Intercontinental prestige vue mer"
}
-mediaDirSlug: "77"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "prestige-vue-mer"
}
2 => App\Entity\Rooms {#2942
-id: 78
-name: "Terrace Suite"
-description: "Un havre de paix pour les couples en quête de romantisme. La chambre de 56 mètre carrés a également une terrasse de 33 mètre carrés équipée d' un bain a remous et faisant face à l’océan. Meublées dans un style contemporain chic et luxueux, les chambres sont pourvues d’une spacieuse salle de bain avec double vasque, baignoire profonde en pierre et d’une douche. Elles sont situées au deuxième étage de l’hôtel, chacune offrant des vues différentes."
-active: true
-hotel: App\Entity\Hotels {#1776}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3071
-elements: array:1 [
0 => App\Entity\RoomPrices {#2935
-id: 1507
-title: "InterContinental - Terrace Suite - Shoulder"
-room: App\Entity\Rooms {#2942}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2946
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2945
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2944
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2943
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 3
-doubleOccupancy: "420.00"
-singleOccupancy: "390.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: null
-defaultExtraLabel: "Demi Pension"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#2941
#collection: Doctrine\Common\Collections\ArrayCollection {#2940
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2942}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1609 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1822 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2939
#collection: Doctrine\Common\Collections\ArrayCollection {#2938
-elements: array:11 [
0 => App\Entity\RoomCapacities {#3064
-id: 2557
-room: App\Entity\Rooms {#2942}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3029
-id: 3360
-room: App\Entity\Rooms {#2942}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3052
-id: 3361
-room: App\Entity\Rooms {#2942}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3056
-id: 3362
-room: App\Entity\Rooms {#2942}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3059
-id: 3363
-room: App\Entity\Rooms {#2942}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3060
-id: 3364
-room: App\Entity\Rooms {#2942}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3062
-id: 3365
-room: App\Entity\Rooms {#2942}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3061
-id: 3366
-room: App\Entity\Rooms {#2942}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3053
-id: 3367
-room: App\Entity\Rooms {#2942}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#3034
-id: 3368
-room: App\Entity\Rooms {#2942}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3007
-id: 3369
-room: App\Entity\Rooms {#2942}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:11 [ …11]
-owner: App\Entity\Rooms {#2942}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1606 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1932 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2948
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#2947
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aec0f4cdb1843384550.jpg"
-gallery: App\Entity\Galleries {#2934
-id: 171
-hotel: null
-room: App\Entity\Rooms {#2942}
-images: Doctrine\ORM\PersistentCollection {#2933
#collection: Doctrine\Common\Collections\ArrayCollection {#2932
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2934}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "Intercontinental terrace suite"
}
-mediaDirSlug: "78"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "terrace-suite"
}
3 => App\Entity\Rooms {#2923
-id: 79
-name: "Family Room"
-description: """
Endroit plus spacieux de 72 mètres carrés qui se compose d’une chambre principale avec un grand lit et d’une deuxième chambre à coucher avec deux lits simples; offrant intimité et paix à tous les membres de la famille. La salle de bain de la chambre famille comporte un wc, une double vasque, une baignoire en pierre et une douche pour une détente ultime.\r\n
\r\n
Sur un balcon meublé et privé, vous pourrez admirer la vue sur Balaclava et peut être profiter du coucher de soleil. Les chambres disposent d'une porte communicante, permettant aux clients de profiter d’une ambiance familiale ou même d’un peu d’intimité.\r\n
\r\n
Capacité Maximale : 4 clients (2 adultes & 2 enfants ou 3 adultes & 1 enfant)
"""
-active: true
-hotel: App\Entity\Hotels {#1776}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3114
-elements: array:1 [
0 => App\Entity\RoomPrices {#2915
-id: 1513
-title: "InterContinental - Family Room - Shoulder"
-room: App\Entity\Rooms {#2923}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2928
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2927
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2926
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2925
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 3
-doubleOccupancy: "520.00"
-singleOccupancy: "520.00"
-tripleOccupancy: "550.00"
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: null
-defaultExtraLabel: "Demi Pension"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#2922
#collection: Doctrine\Common\Collections\ArrayCollection {#2921
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2923}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1609 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1822 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2920
#collection: Doctrine\Common\Collections\ArrayCollection {#2919
-elements: array:19 [
0 => App\Entity\RoomCapacities {#3099
-id: 2569
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3068
-id: 3370
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3087
-id: 3371
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3091
-id: 3372
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3094
-id: 3373
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3095
-id: 3374
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3097
-id: 3375
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3096
-id: 3376
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3088
-id: 3377
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: 2
-children: 1
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2997
-id: 3378
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: 2
-children: null
-babies: 1
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3086
-id: 3379
-room: App\Entity\Rooms {#2923}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#3076
-id: 3380
-room: App\Entity\Rooms {#2923}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#3077
-id: 3381
-room: App\Entity\Rooms {#2923}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#3079
-id: 3382
-room: App\Entity\Rooms {#2923}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#3080
-id: 3383
-room: App\Entity\Rooms {#2923}
-adults: 2
-teens: null
-children: 2
-babies: 2
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#3078
-id: 3384
-room: App\Entity\Rooms {#2923}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#3085
-id: 3385
-room: App\Entity\Rooms {#2923}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
17 => App\Entity\RoomCapacities {#3081
-id: 3386
-room: App\Entity\Rooms {#2923}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
18 => App\Entity\RoomCapacities {#3082
-id: 3482
-room: App\Entity\Rooms {#2923}
-adults: 2
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:19 [ …19]
-owner: App\Entity\Rooms {#2923}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1606 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1932 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2931
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733330236 {#2929
date: 2024-12-04 16:37:16.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aecbbcd812481373213.jpg"
-gallery: App\Entity\Galleries {#2914
-id: 172
-hotel: null
-room: App\Entity\Rooms {#2923}
-images: Doctrine\ORM\PersistentCollection {#2913
#collection: Doctrine\Common\Collections\ArrayCollection {#2911
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2914}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "Intercontinental Family room"
}
-mediaDirSlug: "79"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "family-room"
}
4 => App\Entity\Rooms {#2903
-id: 80
-name: "Duplex Suite"
-description: "Chaque suite en duplex offre le summum en matière de luxe. Offrant 300 mètres carrés d’espace, ces suites sont parfaites pour les clients souhaitant vivre une exaltante expérience en se faisant chouchouter. Elles sont situées sur les étages supérieures de l’hôtel, avec deux terrasses chacune –une avec un jacuzzi et l’autre avec des chaises longues. L’étage au -dessous comporte un séjour et salle à manger, parfaite pour les réceptions, tandis que l’autre étage comprend une chambre principale avec une élégante salle de bains. Vous pourrez admirer la vue sur l’Ocean Indien."
-active: true
-hotel: App\Entity\Hotels {#1776}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3155
-elements: array:1 [
0 => App\Entity\RoomPrices {#2891
-id: 1519
-title: "InterContinental - Duplex Suite - Shoulder"
-room: App\Entity\Rooms {#2903}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2908
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2907
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2906
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2904
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 3
-doubleOccupancy: "620.00"
-singleOccupancy: "620.00"
-tripleOccupancy: "650.00"
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: null
-defaultExtraLabel: "Demi Pension"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#2902
#collection: Doctrine\Common\Collections\ArrayCollection {#2901
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2903}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1609 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1822 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2900
#collection: Doctrine\Common\Collections\ArrayCollection {#2898
-elements: array:17 [
0 => App\Entity\RoomCapacities {#3142
-id: 2598
-room: App\Entity\Rooms {#2903}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3111
-id: 2600
-room: App\Entity\Rooms {#2903}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3130
-id: 2602
-room: App\Entity\Rooms {#2903}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3134
-id: 2604
-room: App\Entity\Rooms {#2903}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3137
-id: 2606
-room: App\Entity\Rooms {#2903}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3138
-id: 2607
-room: App\Entity\Rooms {#2903}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3140
-id: 2608
-room: App\Entity\Rooms {#2903}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3139
-id: 2609
-room: App\Entity\Rooms {#2903}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3131
-id: 2610
-room: App\Entity\Rooms {#2903}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#3109
-id: 2611
-room: App\Entity\Rooms {#2903}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3129
-id: 2612
-room: App\Entity\Rooms {#2903}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#3119
-id: 2614
-room: App\Entity\Rooms {#2903}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#3120
-id: 2615
-room: App\Entity\Rooms {#2903}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#3122
-id: 2616
-room: App\Entity\Rooms {#2903}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#3123
-id: 3387
-room: App\Entity\Rooms {#2903}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#3121
-id: 3388
-room: App\Entity\Rooms {#2903}
-adults: 3
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#3128
-id: 3389
-room: App\Entity\Rooms {#2903}
-adults: 3
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:17 [ …17]
-owner: App\Entity\Rooms {#2903}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1606 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1932 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2910
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729679035 {#2909
date: 2024-10-23 10:23:55.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "6718967b7591a281527865.jpeg"
-gallery: App\Entity\Galleries {#2884
-id: 193
-hotel: null
-room: App\Entity\Rooms {#2903}
-images: Doctrine\ORM\PersistentCollection {#2878
#collection: Doctrine\Common\Collections\ArrayCollection {#2893
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2884}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "intercontinental duplex suite"
}
-mediaDirSlug: "80"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "duplex-suite-2"
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Hotels {#1776}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1538 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1498 …}
}
-address: "Fort côtier Route Côtiere, Balaclava, Île Maurice"
-checkInTime: "8H-15H"
-checkOutTime: "12H-18H"
-babyAgeMax: "5"
-childAgeMax: "12"
-teenAgeMax: "99"
-extraCharges: Doctrine\ORM\PersistentCollection {#1779
#collection: Doctrine\Common\Collections\ArrayCollection {#1780
-elements: array:5 [
0 => App\Entity\ExtraCharges {#3167
-id: 1
-title: "Pension complète"
-description: null
-adultExtra: 40.0
-babyExtra: null
-childExtra: 20.0
-teenExtra: 40.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1776}
}
1 => App\Entity\ExtraCharges {#3172
-id: 2
-title: "Suppléments repas de Noêl"
-description: null
-adultExtra: 115.0
-babyExtra: 0.0
-childExtra: 60.0
-teenExtra: 115.0
-stayStartedAt: DateTimeImmutable @1734998400 {#3164
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735171200 {#3166
date: 2024-12-26 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1776}
}
2 => App\Entity\ExtraCharges {#3174
-id: 50
-title: "Suppléments repas Tout compris"
-description: null
-adultExtra: 90.0
-babyExtra: null
-childExtra: 45.0
-teenExtra: 90.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1776}
}
3 => App\Entity\ExtraCharges {#3177
-id: 53
-title: "Suppléments repas Nouvel An"
-description: null
-adultExtra: 135.0
-babyExtra: null
-childExtra: 70.0
-teenExtra: 135.0
-stayStartedAt: DateTimeImmutable @1735603200 {#3175
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#3176
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1776}
}
4 => App\Entity\ExtraCharges {#3178
-id: 171
-title: "Base Demi pension"
-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 {#1776}
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Hotels {#1776}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1539 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-imageFile: null
-featuredImage: "66965a9978b3d026622378.jpg"
-gallery: App\Entity\Galleries {#1785
-id: 173
-hotel: App\Entity\Hotels {#1776}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1782
#collection: Doctrine\Common\Collections\ArrayCollection {#1784
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1785}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1659 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1677 …}
}
-title: "Hotel Intercontinental"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#3294}
-highlighted: true
-services: array:1 [
0 => ""
]
-hlStartAt: DateTimeImmutable @1736899200 {#1774
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
-hlEndAt: DateTimeImmutable @1737504000 {#1775
date: 2025-01-22 00:00:00.0 UTC (+00:00)
}
-slug: "intercontinental-resort"
}
-description: null
-stayStartAt: DateTimeImmutable @1719792000 {#3221
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#3197
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1719792000 {#3220
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#3226
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "EB"
-minNights: 1
-maxNights: null
-earlyBookingDays: 30
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#3229
#collection: Doctrine\Common\Collections\ArrayCollection {#3230
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3228}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1747 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1498 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#3231
#collection: Doctrine\Common\Collections\ArrayCollection {#3232
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3228}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-offers: Doctrine\ORM\PersistentCollection {#3233
#collection: Doctrine\Common\Collections\ArrayCollection {#3234
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3228}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1757 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1668 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#3235
#collection: Doctrine\Common\Collections\ArrayCollection {#3236
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3228}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#3237
#collection: Doctrine\Common\Collections\ArrayCollection {#3238
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3228}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1631 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
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) {
array:1 [
0 => App\DTO\PromotionDTO {#3374
-debug: true
+id: 4
+title: "EARLY BOOKING INTERCONTINENTAL"
+description: null
+type: "EarlyBooking"
+reference: "EB"
+from: DateTimeImmutable @1719792000 {#3221
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#3197
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: 30
+minNights: 1
+maxNights: null
+discountRate: 20
+discountFamilyRates: []
+combinableRate: null
+priority: 2
+extrasDiscountRate: null
+isAllRooms: true
+isCombinable: false
+selectedRoomsIDs: []
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
]
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 {#4237
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#1323
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#1322
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#1321
-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\Posts" => Metadata\ClassHierarchyMetadata {#1317
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#1318
+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
]
]
}
]
}
"App\Entity\Rooms" => Metadata\ClassHierarchyMetadata {#1884
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1817
+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 {#1556
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#3579
+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 {#3725
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#3735
+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 {#3731
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#3724
+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
]
]
}
]
}
]
-loadedClassMetadata: array:5 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#1318}
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1817}
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#3579}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#3735}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#3724}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#1320
-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: null
+stars: null
+dateRange: "22/03/2025 - 26/03/2025"
+fromAt: DateTimeImmutable @1742601600 {#4270
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#4271
date: 2025-03-26 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => 5
"child" => 13
"teen" => 18
]
+nights: null
+chambers: []
+stay_rooms: []
}