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 {#1564
+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 {#1953
+rpId: 2281
+adultsPrice: 355
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1947
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1566
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 {#1564
+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 {#1982
+rpId: 2295
+adultsPrice: 435
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1919
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1566
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 {#1564
+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 {#2097
+rpId: 2302
+adultsPrice: 530
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1863
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1566
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 {#1564
+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 {#2124
+rpId: 2288
+adultsPrice: 380
+childrenPrice: 0
+startAt: DateTimeImmutable @1733054400 {#1884
date: 2024-12-01 12:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1566
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 {#1564
+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 {#1564}
"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 {#1564}
"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 {#1564}
"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 {#1568
-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 {#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: 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 {#2125
-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 {#2165
-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 {#2147
-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 {#2155
-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 {#2148
-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 {#2168
-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 {#2341
-elements: array:6 [
0 => App\Entity\Offers {#2190
-id: 28
-title: "Free Nights Offer 2=3"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1506
-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 {#1511
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672825 {#1510
date: 2024-10-23 08:40:25.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1635
#collection: Doctrine\Common\Collections\ArrayCollection {#1636
-elements: array:4 [
0 => App\Entity\Rooms {#1942
-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 {#1506}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2043
-elements: array:1 [
0 => App\Entity\RoomPrices {#1913
-id: 2281
-title: "Superior Suite"
-room: App\Entity\Rooms {#1942}
-quantity: 52
-stayStartedAt: DateTimeImmutable @1733011200 {#1947
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1946
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1945
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1944
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 {#1940
#collection: Doctrine\Common\Collections\ArrayCollection {#1939
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1942}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1615 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1828 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1935
#collection: Doctrine\Common\Collections\ArrayCollection {#1933
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1972
-id: 1716
-room: App\Entity\Rooms {#1942}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1854
-id: 1717
-room: App\Entity\Rooms {#1942}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1886
-id: 1718
-room: App\Entity\Rooms {#1942}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1942}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1612 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1938 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1880
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400954 {#1889
date: 2024-12-05 12:15:54.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd96c0c24f150323897.jpg"
-gallery: App\Entity\Galleries {#1910
-id: 175
-hotel: null
-room: App\Entity\Rooms {#1942}
-images: Doctrine\ORM\PersistentCollection {#1916
#collection: Doctrine\Common\Collections\ArrayCollection {#1903
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1910}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-title: "Sands suite superieure"
}
-mediaDirSlug: "22"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "superior-suite"
}
1 => App\Entity\Rooms {#1898
-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 {#1506}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2073
-elements: array:1 [
0 => App\Entity\RoomPrices {#1849
-id: 2295
-title: "Beachfront Suite"
-room: App\Entity\Rooms {#1898}
-quantity: 12
-stayStartedAt: DateTimeImmutable @1733011200 {#1919
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1895
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1896
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1897
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 {#1899
#collection: Doctrine\Common\Collections\ArrayCollection {#1900
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1898}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1615 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1828 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1901
#collection: Doctrine\Common\Collections\ArrayCollection {#1892
-elements: array:3 [
0 => App\Entity\RoomCapacities {#2089
-id: 1747
-room: App\Entity\Rooms {#1898}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2038
-id: 1748
-room: App\Entity\Rooms {#1898}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2077
-id: 1749
-room: App\Entity\Rooms {#1898}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1898}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1612 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1938 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1902
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400974 {#1918
date: 2024-12-05 12:16:14.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bda9a245bc503124079.jpg"
-gallery: App\Entity\Galleries {#1850
-id: 177
-hotel: null
-room: App\Entity\Rooms {#1898}
-images: Doctrine\ORM\PersistentCollection {#1857
#collection: Doctrine\Common\Collections\ArrayCollection {#1858
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1850}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-title: "Sands beachfront suite"
}
-mediaDirSlug: "24"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "beachfront-suite"
}
2 => App\Entity\Rooms {#1869
-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 {#1506}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2100
-elements: array:1 [
0 => App\Entity\RoomPrices {#1877
-id: 2302
-title: "Exclusive Suite"
-room: App\Entity\Rooms {#1869}
-quantity: 1
-stayStartedAt: DateTimeImmutable @1733011200 {#1863
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1864
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1865
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1867
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 {#1870
#collection: Doctrine\Common\Collections\ArrayCollection {#1871
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1869}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1615 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1828 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1872
#collection: Doctrine\Common\Collections\ArrayCollection {#1874
-elements: array:3 [
0 => App\Entity\RoomCapacities {#2116
-id: 1762
-room: App\Entity\Rooms {#1869}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2029
-id: 1763
-room: App\Entity\Rooms {#1869}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2104
-id: 3474
-room: App\Entity\Rooms {#1869}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1869}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1612 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1938 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1860
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400990 {#1862
date: 2024-12-05 12:16:30.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bdafc66b3c703347467.jpg"
-gallery: App\Entity\Galleries {#1878
-id: 178
-hotel: null
-room: App\Entity\Rooms {#1869}
-images: Doctrine\ORM\PersistentCollection {#1879
#collection: Doctrine\Common\Collections\ArrayCollection {#1881
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1878}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-title: "Sands suite exclusive"
}
-mediaDirSlug: "25"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "exclusive-suite"
}
3 => App\Entity\Rooms {#1837
-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 {#1506}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2127
-elements: array:1 [
0 => App\Entity\RoomPrices {#2045
-id: 2288
-title: "Deluxe Suite"
-room: App\Entity\Rooms {#1837}
-quantity: 26
-stayStartedAt: DateTimeImmutable @1733054400 {#1884
date: 2024-12-01 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734609600 {#1885
date: 2024-12-19 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1887
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: "380.00"
-singleOccupancy: "380.00"
-tripleOccupancy: "130.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1894
#collection: Doctrine\Common\Collections\ArrayCollection {#1851
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1837}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1615 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1828 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1840
#collection: Doctrine\Common\Collections\ArrayCollection {#1868
-elements: array:3 [
0 => App\Entity\RoomCapacities {#2143
-id: 1733
-room: App\Entity\Rooms {#1837}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2098
-id: 1734
-room: App\Entity\Rooms {#1837}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2131
-id: 1735
-room: App\Entity\Rooms {#1837}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1837}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1612 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1938 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1882
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400961 {#1883
date: 2024-12-05 12:16:01.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bda2555092060530053.jpg"
-gallery: App\Entity\Galleries {#2039
-id: 176
-hotel: null
-room: App\Entity\Rooms {#1837}
-images: Doctrine\ORM\PersistentCollection {#2032
#collection: Doctrine\Common\Collections\ArrayCollection {#2027
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2039}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-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 {#1506}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1544 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1504 …}
}
-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 {#1632
#collection: Doctrine\Common\Collections\ArrayCollection {#1630
-elements: array:2 [
0 => App\Entity\ExtraCharges {#2156
-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 {#1506}
}
1 => App\Entity\ExtraCharges {#2167
-id: 197
-title: "Nouvel An"
-description: null
-adultExtra: 230.0
-babyExtra: null
-childExtra: null
-teenExtra: 230.0
-stayStartedAt: DateTimeImmutable @1735603200 {#2164
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#2166
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1506}
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-owner: App\Entity\Hotels {#1506}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1545 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-imageFile: null
-featuredImage: "66965dbe6119f172273068.jpg"
-gallery: App\Entity\Galleries {#1675
-id: 53
-hotel: App\Entity\Hotels {#1506}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1688
#collection: Doctrine\Common\Collections\ArrayCollection {#1687
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1675}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-title: "Hotel Sands"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#2341}
-highlighted: true
-services: array:1 [
0 => ""
]
-hlStartAt: DateTimeImmutable @1733011200 {#1509
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-hlEndAt: DateTimeImmutable @1733616000 {#1508
date: 2024-12-08 00:00:00.0 UTC (+00:00)
}
-slug: "sands-suites-resort-spa"
}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2182
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2179
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2181
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2187
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 {#2192
#collection: Doctrine\Common\Collections\ArrayCollection {#2193
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2190}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1504 …}
}
-discount: 33
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2194
#collection: Doctrine\Common\Collections\ArrayCollection {#2195
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2190}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2250
#collection: Doctrine\Common\Collections\ArrayCollection {#2251
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2190}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1763 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2252
#collection: Doctrine\Common\Collections\ArrayCollection {#2253
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2190}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2254
#collection: Doctrine\Common\Collections\ArrayCollection {#2255
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2190}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1771 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#2260
-id: 29
-title: "Free Nights Offer 3=4"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1506}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2256
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2257
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2258
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2259
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 {#2261
#collection: Doctrine\Common\Collections\ArrayCollection {#2262
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2260}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1504 …}
}
-discount: 25
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2263
#collection: Doctrine\Common\Collections\ArrayCollection {#2264
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2260}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2265
#collection: Doctrine\Common\Collections\ArrayCollection {#2266
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2260}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1763 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2267
#collection: Doctrine\Common\Collections\ArrayCollection {#2268
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2260}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2269
#collection: Doctrine\Common\Collections\ArrayCollection {#2270
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2260}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1771 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
2 => App\Entity\Offers {#2275
-id: 30
-title: "Free Nights Offer 4=6"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1506}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2271
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2272
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2273
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2274
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 {#2276
#collection: Doctrine\Common\Collections\ArrayCollection {#2277
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2275}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1504 …}
}
-discount: 33
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2278
#collection: Doctrine\Common\Collections\ArrayCollection {#2279
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2275}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2280
#collection: Doctrine\Common\Collections\ArrayCollection {#2281
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2275}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1763 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2282
#collection: Doctrine\Common\Collections\ArrayCollection {#2283
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2275}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2284
#collection: Doctrine\Common\Collections\ArrayCollection {#2285
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2275}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1771 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
3 => App\Entity\Offers {#2290
-id: 31
-title: "EARLY BOOKING Sands"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1506}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2286
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2287
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2288
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2289
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 {#2291
#collection: Doctrine\Common\Collections\ArrayCollection {#2292
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2290}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1504 …}
}
-discount: 15
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2293
#collection: Doctrine\Common\Collections\ArrayCollection {#2294
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2290}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2295
#collection: Doctrine\Common\Collections\ArrayCollection {#2296
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2290}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1763 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2297
#collection: Doctrine\Common\Collections\ArrayCollection {#2298
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2290}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2299
#collection: Doctrine\Common\Collections\ArrayCollection {#2300
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2290}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1771 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
4 => App\Entity\Offers {#2305
-id: 32
-title: "Free Nights Offer 5=7"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1506}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2301
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2302
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2303
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2304
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 {#2306
#collection: Doctrine\Common\Collections\ArrayCollection {#2307
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2305}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1504 …}
}
-discount: 28
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2308
#collection: Doctrine\Common\Collections\ArrayCollection {#2309
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2305}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2310
#collection: Doctrine\Common\Collections\ArrayCollection {#2311
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2305}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1763 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2312
#collection: Doctrine\Common\Collections\ArrayCollection {#2313
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2305}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2314
#collection: Doctrine\Common\Collections\ArrayCollection {#2315
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2305}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1771 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
5 => App\Entity\Offers {#2320
-id: 200
-title: "Free Nights Offer 4=5"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1506}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2316
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2317
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2318
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2319
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 {#2321
#collection: Doctrine\Common\Collections\ArrayCollection {#2322
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2320}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1504 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2323
#collection: Doctrine\Common\Collections\ArrayCollection {#2324
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2320}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2325
#collection: Doctrine\Common\Collections\ArrayCollection {#2326
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2320}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1763 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2327
#collection: Doctrine\Common\Collections\ArrayCollection {#2328
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2320}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2329
#collection: Doctrine\Common\Collections\ArrayCollection {#2330
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2320}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1771 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-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 {#2486
-debug: true
+id: 28
+title: "Free Nights Offer 2=3"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 2=3"
+from: DateTimeImmutable @1704067200 {#2182
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2179
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 {#2490
-debug: true
+id: 29
+title: "Free Nights Offer 3=4"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 3=4"
+from: DateTimeImmutable @1704067200 {#2256
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2257
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 {#2514
-debug: true
+id: 30
+title: "Free Nights Offer 4=6"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 4=6"
+from: DateTimeImmutable @1704067200 {#2271
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2272
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 {#2800
-debug: true
+id: 31
+title: "EARLY BOOKING Sands"
+description: null
+type: "EarlyBooking"
+reference: "EB60"
+from: DateTimeImmutable @1704067200 {#2286
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2287
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 {#2810
-debug: true
+id: 32
+title: "Free Nights Offer 5=7"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 5=7"
+from: DateTimeImmutable @1704067200 {#2301
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2302
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 {#2807
-debug: true
+id: 200
+title: "Free Nights Offer 4=5"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 4=5"
+from: DateTimeImmutable @1704067200 {#2316
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2317
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 {#1564
+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 {#3020
+rpId: 1495
+adultsPrice: 370
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2157
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2800
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 {#1564
+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 {#2835
+rpId: 1501
+adultsPrice: 395
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2157
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2800
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 {#1564
+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 {#3073
+rpId: 1507
+adultsPrice: 420
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2157
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2800
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 {#1564
+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 {#3114
+rpId: 1513
+adultsPrice: 520
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2157
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2800
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 {#1564
+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 {#3155
+rpId: 1519
+adultsPrice: 620
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2157
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2800
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 {#1564
+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 {#1564}
"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 {#1564}
"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 {#1564}
"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 {#1564}
"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 {#2807
-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 {#3176
-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 {#3179
-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 {#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: 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 {#3158
-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 {#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: 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 {#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: 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 {#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: 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 {#3166
-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 {#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: 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 {#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: 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 {#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: 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 {#3167
-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 {#3193
-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 {#3194
-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 {#3195
-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 {#3168
-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 {#3196
-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 {#3197
-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 {#3198
-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 {#3300
-elements: array:1 [
0 => App\Entity\Offers {#3234
-id: 4
-title: "EARLY BOOKING INTERCONTINENTAL"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1782
-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 {#1714
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1734514469 {#1779
date: 2024-12-18 09:34:29.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1783
#collection: Doctrine\Common\Collections\ArrayCollection {#1784
-elements: array:5 [
0 => App\Entity\Rooms {#2982
-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 {#1782}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3009
-elements: array:1 [
0 => App\Entity\RoomPrices {#2975
-id: 1495
-title: "InterContinental - Deluxe Face mer - Shoulder"
-room: App\Entity\Rooms {#2982}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2986
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2985
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2984
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2983
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 {#2981
#collection: Doctrine\Common\Collections\ArrayCollection {#2980
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2982}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1615 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1828 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2979
#collection: Doctrine\Common\Collections\ArrayCollection {#2978
-elements: array:11 [
0 => App\Entity\RoomCapacities {#3039
-id: 2535
-room: App\Entity\Rooms {#2982}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2887
-id: 3339
-room: App\Entity\Rooms {#2982}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2918
-id: 3340
-room: App\Entity\Rooms {#2982}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#2905
-id: 3341
-room: App\Entity\Rooms {#2982}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#2894
-id: 3342
-room: App\Entity\Rooms {#2982}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#2994
-id: 3343
-room: App\Entity\Rooms {#2982}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3051
-id: 3344
-room: App\Entity\Rooms {#2982}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3053
-id: 3345
-room: App\Entity\Rooms {#2982}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#2936
-id: 3346
-room: App\Entity\Rooms {#2982}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2896
-id: 3347
-room: App\Entity\Rooms {#2982}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#2888
-id: 3348
-room: App\Entity\Rooms {#2982}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:11 [ …11]
-owner: App\Entity\Rooms {#2982}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1612 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1938 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2911
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#2902
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aebaf5e554743585272.jpg"
-gallery: App\Entity\Galleries {#2974
-id: 89
-hotel: null
-room: App\Entity\Rooms {#2982}
-images: Doctrine\ORM\PersistentCollection {#2973
#collection: Doctrine\Common\Collections\ArrayCollection {#2972
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2974}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-title: "Intercontinental chambre deluxe face mer"
}
-mediaDirSlug: "76"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "deluxe-face-mer"
}
1 => App\Entity\Rooms {#2965
-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 {#1782}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3031
-elements: array:1 [
0 => App\Entity\RoomPrices {#2958
-id: 1501
-title: "InterContinental - Prestige Vue mer - Shoulder"
-room: App\Entity\Rooms {#2965}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2969
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2968
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2967
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2966
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 {#2964
#collection: Doctrine\Common\Collections\ArrayCollection {#2963
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2965}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1615 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1828 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2962
#collection: Doctrine\Common\Collections\ArrayCollection {#2961
-elements: array:12 [
0 => App\Entity\RoomCapacities {#3042
-id: 2545
-room: App\Entity\Rooms {#2965}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3014
-id: 3349
-room: App\Entity\Rooms {#2965}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3054
-id: 3350
-room: App\Entity\Rooms {#2965}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3036
-id: 3351
-room: App\Entity\Rooms {#2965}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3048
-id: 3352
-room: App\Entity\Rooms {#2965}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3046
-id: 3353
-room: App\Entity\Rooms {#2965}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3044
-id: 3354
-room: App\Entity\Rooms {#2965}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3047
-id: 3355
-room: App\Entity\Rooms {#2965}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3052
-id: 3356
-room: App\Entity\Rooms {#2965}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2885
-id: 3357
-room: App\Entity\Rooms {#2965}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3055
-id: 3358
-room: App\Entity\Rooms {#2965}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#3004
-id: 3359
-room: App\Entity\Rooms {#2965}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:12 [ …12]
-owner: App\Entity\Rooms {#2965}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1612 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1938 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2971
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733330060 {#2970
date: 2024-12-04 16:34:20.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aebea88d98706732414.jpg"
-gallery: App\Entity\Galleries {#2957
-id: 170
-hotel: null
-room: App\Entity\Rooms {#2965}
-images: Doctrine\ORM\PersistentCollection {#2956
#collection: Doctrine\Common\Collections\ArrayCollection {#2955
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2957}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-title: "Intercontinental prestige vue mer"
}
-mediaDirSlug: "77"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "prestige-vue-mer"
}
2 => App\Entity\Rooms {#2948
-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 {#1782}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3077
-elements: array:1 [
0 => App\Entity\RoomPrices {#2941
-id: 1507
-title: "InterContinental - Terrace Suite - Shoulder"
-room: App\Entity\Rooms {#2948}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2952
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2951
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2950
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2949
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 {#2947
#collection: Doctrine\Common\Collections\ArrayCollection {#2946
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2948}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1615 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1828 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2945
#collection: Doctrine\Common\Collections\ArrayCollection {#2944
-elements: array:11 [
0 => App\Entity\RoomCapacities {#3070
-id: 2557
-room: App\Entity\Rooms {#2948}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3035
-id: 3360
-room: App\Entity\Rooms {#2948}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3058
-id: 3361
-room: App\Entity\Rooms {#2948}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3062
-id: 3362
-room: App\Entity\Rooms {#2948}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3065
-id: 3363
-room: App\Entity\Rooms {#2948}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3066
-id: 3364
-room: App\Entity\Rooms {#2948}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3068
-id: 3365
-room: App\Entity\Rooms {#2948}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3067
-id: 3366
-room: App\Entity\Rooms {#2948}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3059
-id: 3367
-room: App\Entity\Rooms {#2948}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#3040
-id: 3368
-room: App\Entity\Rooms {#2948}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3013
-id: 3369
-room: App\Entity\Rooms {#2948}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:11 [ …11]
-owner: App\Entity\Rooms {#2948}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1612 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1938 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2954
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#2953
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aec0f4cdb1843384550.jpg"
-gallery: App\Entity\Galleries {#2940
-id: 171
-hotel: null
-room: App\Entity\Rooms {#2948}
-images: Doctrine\ORM\PersistentCollection {#2939
#collection: Doctrine\Common\Collections\ArrayCollection {#2938
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2940}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-title: "Intercontinental terrace suite"
}
-mediaDirSlug: "78"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "terrace-suite"
}
3 => App\Entity\Rooms {#2929
-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 {#1782}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3120
-elements: array:1 [
0 => App\Entity\RoomPrices {#2921
-id: 1513
-title: "InterContinental - Family Room - Shoulder"
-room: App\Entity\Rooms {#2929}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2934
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2933
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2932
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2931
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 {#2928
#collection: Doctrine\Common\Collections\ArrayCollection {#2927
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2929}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1615 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1828 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2926
#collection: Doctrine\Common\Collections\ArrayCollection {#2925
-elements: array:19 [
0 => App\Entity\RoomCapacities {#3105
-id: 2569
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3074
-id: 3370
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3093
-id: 3371
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3097
-id: 3372
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3100
-id: 3373
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3101
-id: 3374
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3103
-id: 3375
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3102
-id: 3376
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3094
-id: 3377
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: 2
-children: 1
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#3003
-id: 3378
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: 2
-children: null
-babies: 1
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3092
-id: 3379
-room: App\Entity\Rooms {#2929}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#3082
-id: 3380
-room: App\Entity\Rooms {#2929}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#3083
-id: 3381
-room: App\Entity\Rooms {#2929}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#3085
-id: 3382
-room: App\Entity\Rooms {#2929}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#3086
-id: 3383
-room: App\Entity\Rooms {#2929}
-adults: 2
-teens: null
-children: 2
-babies: 2
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#3084
-id: 3384
-room: App\Entity\Rooms {#2929}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#3091
-id: 3385
-room: App\Entity\Rooms {#2929}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
17 => App\Entity\RoomCapacities {#3087
-id: 3386
-room: App\Entity\Rooms {#2929}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
18 => App\Entity\RoomCapacities {#3088
-id: 3482
-room: App\Entity\Rooms {#2929}
-adults: 2
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:19 [ …19]
-owner: App\Entity\Rooms {#2929}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1612 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1938 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2937
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733330236 {#2935
date: 2024-12-04 16:37:16.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aecbbcd812481373213.jpg"
-gallery: App\Entity\Galleries {#2920
-id: 172
-hotel: null
-room: App\Entity\Rooms {#2929}
-images: Doctrine\ORM\PersistentCollection {#2919
#collection: Doctrine\Common\Collections\ArrayCollection {#2917
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2920}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-title: "Intercontinental Family room"
}
-mediaDirSlug: "79"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "family-room"
}
4 => App\Entity\Rooms {#2909
-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 {#1782}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3161
-elements: array:1 [
0 => App\Entity\RoomPrices {#2897
-id: 1519
-title: "InterContinental - Duplex Suite - Shoulder"
-room: App\Entity\Rooms {#2909}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2914
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2913
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2912
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2910
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 {#2908
#collection: Doctrine\Common\Collections\ArrayCollection {#2907
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2909}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1615 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1828 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2906
#collection: Doctrine\Common\Collections\ArrayCollection {#2904
-elements: array:17 [
0 => App\Entity\RoomCapacities {#3148
-id: 2598
-room: App\Entity\Rooms {#2909}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3117
-id: 2600
-room: App\Entity\Rooms {#2909}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3136
-id: 2602
-room: App\Entity\Rooms {#2909}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3140
-id: 2604
-room: App\Entity\Rooms {#2909}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3143
-id: 2606
-room: App\Entity\Rooms {#2909}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3144
-id: 2607
-room: App\Entity\Rooms {#2909}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3146
-id: 2608
-room: App\Entity\Rooms {#2909}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3145
-id: 2609
-room: App\Entity\Rooms {#2909}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3137
-id: 2610
-room: App\Entity\Rooms {#2909}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#3115
-id: 2611
-room: App\Entity\Rooms {#2909}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3135
-id: 2612
-room: App\Entity\Rooms {#2909}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#3125
-id: 2614
-room: App\Entity\Rooms {#2909}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#3126
-id: 2615
-room: App\Entity\Rooms {#2909}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#3128
-id: 2616
-room: App\Entity\Rooms {#2909}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#3129
-id: 3387
-room: App\Entity\Rooms {#2909}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#3127
-id: 3388
-room: App\Entity\Rooms {#2909}
-adults: 3
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#3134
-id: 3389
-room: App\Entity\Rooms {#2909}
-adults: 3
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:17 [ …17]
-owner: App\Entity\Rooms {#2909}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1612 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1938 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2916
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729679035 {#2915
date: 2024-10-23 10:23:55.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "6718967b7591a281527865.jpeg"
-gallery: App\Entity\Galleries {#2890
-id: 193
-hotel: null
-room: App\Entity\Rooms {#2909}
-images: Doctrine\ORM\PersistentCollection {#2884
#collection: Doctrine\Common\Collections\ArrayCollection {#2899
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2890}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-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 {#1782}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1544 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1504 …}
}
-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 {#1785
#collection: Doctrine\Common\Collections\ArrayCollection {#1786
-elements: array:5 [
0 => App\Entity\ExtraCharges {#3173
-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 {#1782}
}
1 => App\Entity\ExtraCharges {#3178
-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 {#3170
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735171200 {#3172
date: 2024-12-26 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1782}
}
2 => App\Entity\ExtraCharges {#3180
-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 {#1782}
}
3 => App\Entity\ExtraCharges {#3183
-id: 53
-title: "Suppléments repas Nouvel An"
-description: null
-adultExtra: 135.0
-babyExtra: null
-childExtra: 70.0
-teenExtra: 135.0
-stayStartedAt: DateTimeImmutable @1735603200 {#3181
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#3182
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1782}
}
4 => App\Entity\ExtraCharges {#3184
-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 {#1782}
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Hotels {#1782}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1545 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-imageFile: null
-featuredImage: "66965a9978b3d026622378.jpg"
-gallery: App\Entity\Galleries {#1791
-id: 173
-hotel: App\Entity\Hotels {#1782}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1788
#collection: Doctrine\Common\Collections\ArrayCollection {#1790
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1791}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1665 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1683 …}
}
-title: "Hotel Intercontinental"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#3300}
-highlighted: true
-services: array:1 [
0 => ""
]
-hlStartAt: DateTimeImmutable @1736899200 {#1780
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
-hlEndAt: DateTimeImmutable @1737504000 {#1781
date: 2025-01-22 00:00:00.0 UTC (+00:00)
}
-slug: "intercontinental-resort"
}
-description: null
-stayStartAt: DateTimeImmutable @1719792000 {#3227
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#3203
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1719792000 {#3226
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#3232
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 {#3235
#collection: Doctrine\Common\Collections\ArrayCollection {#3236
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3234}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1753 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1504 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#3237
#collection: Doctrine\Common\Collections\ArrayCollection {#3238
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3234}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1759 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-offers: Doctrine\ORM\PersistentCollection {#3239
#collection: Doctrine\Common\Collections\ArrayCollection {#3240
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3234}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1763 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1674 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#3241
#collection: Doctrine\Common\Collections\ArrayCollection {#3242
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3234}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1765 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#3243
#collection: Doctrine\Common\Collections\ArrayCollection {#3244
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3234}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1771 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1637 …}
}
-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 {#3380
-debug: true
+id: 4
+title: "EARLY BOOKING INTERCONTINENTAL"
+description: null
+type: "EarlyBooking"
+reference: "EB"
+from: DateTimeImmutable @1719792000 {#3227
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#3203
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 {#4243
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#1329
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#1328
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#1327
-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 {#1323
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#1324
+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 {#1890
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1823
+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 {#1562
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#3585
+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 {#3731
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#3741
+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 {#3737
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#3730
+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 {#1324}
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1823}
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#3585}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#3741}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#3730}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#1326
-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 {#4276
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#4277
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: []
}