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 {#1569
+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 {#1958
+rpId: 2281
+adultsPrice: 355
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1952
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1571
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 {#1569
+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 {#1987
+rpId: 2295
+adultsPrice: 435
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1924
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1571
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 {#1569
+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 {#2102
+rpId: 2302
+adultsPrice: 530
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1868
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1571
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 {#1569
+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 {#2129
+rpId: 2288
+adultsPrice: 380
+childrenPrice: 0
+startAt: DateTimeImmutable @1733054400 {#1889
date: 2024-12-01 12:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1571
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 {#1569
+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 {#1569}
"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 {#1569}
"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 {#1569}
"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 {#1573
-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 {#2167
-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 {#2130
-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 {#2170
-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 {#2152
-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 {#2160
-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 {#2153
-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 {#2173
-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 {#2346
-elements: array:6 [
0 => App\Entity\Offers {#2195
-id: 28
-title: "Free Nights Offer 2=3"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1511
-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 {#1516
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672825 {#1515
date: 2024-10-23 08:40:25.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1640
#collection: Doctrine\Common\Collections\ArrayCollection {#1641
-elements: array:4 [
0 => App\Entity\Rooms {#1947
-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 {#1511}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2048
-elements: array:1 [
0 => App\Entity\RoomPrices {#1918
-id: 2281
-title: "Superior Suite"
-room: App\Entity\Rooms {#1947}
-quantity: 52
-stayStartedAt: DateTimeImmutable @1733011200 {#1952
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1951
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1950
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1949
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 {#1945
#collection: Doctrine\Common\Collections\ArrayCollection {#1944
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1947}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1620 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1833 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1940
#collection: Doctrine\Common\Collections\ArrayCollection {#1938
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1977
-id: 1716
-room: App\Entity\Rooms {#1947}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1859
-id: 1717
-room: App\Entity\Rooms {#1947}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1891
-id: 1718
-room: App\Entity\Rooms {#1947}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1947}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1617 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1943 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1885
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400954 {#1894
date: 2024-12-05 12:15:54.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd96c0c24f150323897.jpg"
-gallery: App\Entity\Galleries {#1915
-id: 175
-hotel: null
-room: App\Entity\Rooms {#1947}
-images: Doctrine\ORM\PersistentCollection {#1921
#collection: Doctrine\Common\Collections\ArrayCollection {#1908
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1915}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-title: "Sands suite superieure"
}
-mediaDirSlug: "22"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "superior-suite"
}
1 => App\Entity\Rooms {#1903
-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 {#1511}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2078
-elements: array:1 [
0 => App\Entity\RoomPrices {#1854
-id: 2295
-title: "Beachfront Suite"
-room: App\Entity\Rooms {#1903}
-quantity: 12
-stayStartedAt: DateTimeImmutable @1733011200 {#1924
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1900
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1901
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1902
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 {#1904
#collection: Doctrine\Common\Collections\ArrayCollection {#1905
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1903}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1620 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1833 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1906
#collection: Doctrine\Common\Collections\ArrayCollection {#1897
-elements: array:3 [
0 => App\Entity\RoomCapacities {#2094
-id: 1747
-room: App\Entity\Rooms {#1903}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2043
-id: 1748
-room: App\Entity\Rooms {#1903}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2082
-id: 1749
-room: App\Entity\Rooms {#1903}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1903}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1617 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1943 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1907
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400974 {#1923
date: 2024-12-05 12:16:14.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bda9a245bc503124079.jpg"
-gallery: App\Entity\Galleries {#1855
-id: 177
-hotel: null
-room: App\Entity\Rooms {#1903}
-images: Doctrine\ORM\PersistentCollection {#1862
#collection: Doctrine\Common\Collections\ArrayCollection {#1863
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1855}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-title: "Sands beachfront suite"
}
-mediaDirSlug: "24"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "beachfront-suite"
}
2 => App\Entity\Rooms {#1874
-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 {#1511}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2105
-elements: array:1 [
0 => App\Entity\RoomPrices {#1882
-id: 2302
-title: "Exclusive Suite"
-room: App\Entity\Rooms {#1874}
-quantity: 1
-stayStartedAt: DateTimeImmutable @1733011200 {#1868
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1869
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1870
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1872
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 {#1875
#collection: Doctrine\Common\Collections\ArrayCollection {#1876
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1874}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1620 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1833 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1877
#collection: Doctrine\Common\Collections\ArrayCollection {#1879
-elements: array:3 [
0 => App\Entity\RoomCapacities {#2121
-id: 1762
-room: App\Entity\Rooms {#1874}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2034
-id: 1763
-room: App\Entity\Rooms {#1874}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2109
-id: 3474
-room: App\Entity\Rooms {#1874}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1874}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1617 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1943 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1865
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400990 {#1867
date: 2024-12-05 12:16:30.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bdafc66b3c703347467.jpg"
-gallery: App\Entity\Galleries {#1883
-id: 178
-hotel: null
-room: App\Entity\Rooms {#1874}
-images: Doctrine\ORM\PersistentCollection {#1884
#collection: Doctrine\Common\Collections\ArrayCollection {#1886
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1883}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-title: "Sands suite exclusive"
}
-mediaDirSlug: "25"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "exclusive-suite"
}
3 => App\Entity\Rooms {#1842
-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 {#1511}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2132
-elements: array:1 [
0 => App\Entity\RoomPrices {#2050
-id: 2288
-title: "Deluxe Suite"
-room: App\Entity\Rooms {#1842}
-quantity: 26
-stayStartedAt: DateTimeImmutable @1733054400 {#1889
date: 2024-12-01 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734609600 {#1890
date: 2024-12-19 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1892
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1866
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 {#1899
#collection: Doctrine\Common\Collections\ArrayCollection {#1856
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1842}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1620 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1833 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1845
#collection: Doctrine\Common\Collections\ArrayCollection {#1873
-elements: array:3 [
0 => App\Entity\RoomCapacities {#2148
-id: 1733
-room: App\Entity\Rooms {#1842}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2103
-id: 1734
-room: App\Entity\Rooms {#1842}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2136
-id: 1735
-room: App\Entity\Rooms {#1842}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1842}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1617 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1943 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1887
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400961 {#1888
date: 2024-12-05 12:16:01.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bda2555092060530053.jpg"
-gallery: App\Entity\Galleries {#2044
-id: 176
-hotel: null
-room: App\Entity\Rooms {#1842}
-images: Doctrine\ORM\PersistentCollection {#2037
#collection: Doctrine\Common\Collections\ArrayCollection {#2032
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2044}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-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 {#1511}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1549 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1509 …}
}
-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 {#1637
#collection: Doctrine\Common\Collections\ArrayCollection {#1635
-elements: array:2 [
0 => App\Entity\ExtraCharges {#2161
-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 {#1511}
}
1 => App\Entity\ExtraCharges {#2172
-id: 197
-title: "Nouvel An"
-description: null
-adultExtra: 230.0
-babyExtra: null
-childExtra: null
-teenExtra: 230.0
-stayStartedAt: DateTimeImmutable @1735603200 {#2169
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#2171
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1511}
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-owner: App\Entity\Hotels {#1511}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1550 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-imageFile: null
-featuredImage: "66965dbe6119f172273068.jpg"
-gallery: App\Entity\Galleries {#1680
-id: 53
-hotel: App\Entity\Hotels {#1511}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1693
#collection: Doctrine\Common\Collections\ArrayCollection {#1692
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1680}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-title: "Hotel Sands"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#2346}
-highlighted: true
-services: array:1 [
0 => ""
]
-hlStartAt: DateTimeImmutable @1733011200 {#1514
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-hlEndAt: DateTimeImmutable @1733616000 {#1513
date: 2024-12-08 00:00:00.0 UTC (+00:00)
}
-slug: "sands-suites-resort-spa"
}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2187
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2184
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2186
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2192
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 {#2197
#collection: Doctrine\Common\Collections\ArrayCollection {#2198
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2195}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1758 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1509 …}
}
-discount: 33
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2199
#collection: Doctrine\Common\Collections\ArrayCollection {#2200
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2195}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1764 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2255
#collection: Doctrine\Common\Collections\ArrayCollection {#2256
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2195}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1768 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2257
#collection: Doctrine\Common\Collections\ArrayCollection {#2258
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2195}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1770 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2259
#collection: Doctrine\Common\Collections\ArrayCollection {#2260
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2195}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1776 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#2265
-id: 29
-title: "Free Nights Offer 3=4"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1511}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2261
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2262
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2263
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2264
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 {#2266
#collection: Doctrine\Common\Collections\ArrayCollection {#2267
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2265}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1758 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1509 …}
}
-discount: 25
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2268
#collection: Doctrine\Common\Collections\ArrayCollection {#2269
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2265}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1764 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2270
#collection: Doctrine\Common\Collections\ArrayCollection {#2271
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2265}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1768 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2272
#collection: Doctrine\Common\Collections\ArrayCollection {#2273
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2265}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1770 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2274
#collection: Doctrine\Common\Collections\ArrayCollection {#2275
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2265}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1776 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
2 => App\Entity\Offers {#2280
-id: 30
-title: "Free Nights Offer 4=6"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1511}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2276
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2277
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2278
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2279
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 {#2281
#collection: Doctrine\Common\Collections\ArrayCollection {#2282
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2280}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1758 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1509 …}
}
-discount: 33
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2283
#collection: Doctrine\Common\Collections\ArrayCollection {#2284
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2280}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1764 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2285
#collection: Doctrine\Common\Collections\ArrayCollection {#2286
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2280}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1768 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2287
#collection: Doctrine\Common\Collections\ArrayCollection {#2288
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2280}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1770 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2289
#collection: Doctrine\Common\Collections\ArrayCollection {#2290
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2280}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1776 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
3 => App\Entity\Offers {#2295
-id: 31
-title: "EARLY BOOKING Sands"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1511}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2291
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2292
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2293
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2294
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 {#2296
#collection: Doctrine\Common\Collections\ArrayCollection {#2297
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2295}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1758 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1509 …}
}
-discount: 15
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2298
#collection: Doctrine\Common\Collections\ArrayCollection {#2299
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2295}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1764 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2300
#collection: Doctrine\Common\Collections\ArrayCollection {#2301
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2295}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1768 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2302
#collection: Doctrine\Common\Collections\ArrayCollection {#2303
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2295}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1770 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2304
#collection: Doctrine\Common\Collections\ArrayCollection {#2305
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2295}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1776 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
4 => App\Entity\Offers {#2310
-id: 32
-title: "Free Nights Offer 5=7"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1511}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2306
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2307
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2308
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2309
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 {#2311
#collection: Doctrine\Common\Collections\ArrayCollection {#2312
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2310}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1758 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1509 …}
}
-discount: 28
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2313
#collection: Doctrine\Common\Collections\ArrayCollection {#2314
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2310}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1764 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2315
#collection: Doctrine\Common\Collections\ArrayCollection {#2316
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2310}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1768 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2317
#collection: Doctrine\Common\Collections\ArrayCollection {#2318
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2310}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1770 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2319
#collection: Doctrine\Common\Collections\ArrayCollection {#2320
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2310}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1776 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
5 => App\Entity\Offers {#2325
-id: 200
-title: "Free Nights Offer 4=5"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1511}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2321
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2322
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2323
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2324
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 {#2326
#collection: Doctrine\Common\Collections\ArrayCollection {#2327
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2325}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1758 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1509 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2328
#collection: Doctrine\Common\Collections\ArrayCollection {#2329
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2325}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1764 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2330
#collection: Doctrine\Common\Collections\ArrayCollection {#2331
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2325}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1768 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2332
#collection: Doctrine\Common\Collections\ArrayCollection {#2333
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2325}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1770 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2334
#collection: Doctrine\Common\Collections\ArrayCollection {#2335
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2325}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1776 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-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 {#2491
-debug: true
+id: 28
+title: "Free Nights Offer 2=3"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 2=3"
+from: DateTimeImmutable @1704067200 {#2187
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2184
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 {#2495
-debug: true
+id: 29
+title: "Free Nights Offer 3=4"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 3=4"
+from: DateTimeImmutable @1704067200 {#2261
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2262
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 {#2519
-debug: true
+id: 30
+title: "Free Nights Offer 4=6"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 4=6"
+from: DateTimeImmutable @1704067200 {#2276
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2277
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 {#2805
-debug: true
+id: 31
+title: "EARLY BOOKING Sands"
+description: null
+type: "EarlyBooking"
+reference: "EB60"
+from: DateTimeImmutable @1704067200 {#2291
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2292
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 {#2815
-debug: true
+id: 32
+title: "Free Nights Offer 5=7"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 5=7"
+from: DateTimeImmutable @1704067200 {#2306
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2307
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 {#2812
-debug: true
+id: 200
+title: "Free Nights Offer 4=5"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 4=5"
+from: DateTimeImmutable @1704067200 {#2321
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2322
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 {#1569
+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 {#3025
+rpId: 1495
+adultsPrice: 370
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2162
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2805
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 {#1569
+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 {#2840
+rpId: 1501
+adultsPrice: 395
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2162
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2805
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 {#1569
+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 {#3078
+rpId: 1507
+adultsPrice: 420
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2162
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2805
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 {#1569
+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 {#3119
+rpId: 1513
+adultsPrice: 520
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2162
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2805
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 {#1569
+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 {#3160
+rpId: 1519
+adultsPrice: 620
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2162
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2805
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 {#1569
+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 {#1569}
"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 {#1569}
"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 {#1569}
"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 {#1569}
"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 {#2812
-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 {#3181
-marginRate: 20
+extraId: 171
+name: "Base Demi pension"
+description: null
+stayTotalNights: 7
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 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 {#3184
-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 {#3191
-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 {#3163
-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 {#3192
-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 {#3193
-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 {#3194
-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 {#3171
-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 {#3195
-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 {#3196
-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 {#3197
-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 {#3172
-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 {#3198
-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 {#3199
-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 {#3200
-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 {#3173
-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 {#3201
-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 {#3202
-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 {#3203
-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 {#3305
-elements: array:1 [
0 => App\Entity\Offers {#3239
-id: 4
-title: "EARLY BOOKING INTERCONTINENTAL"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1787
-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 {#1719
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1734514469 {#1784
date: 2024-12-18 09:34:29.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1788
#collection: Doctrine\Common\Collections\ArrayCollection {#1789
-elements: array:5 [
0 => App\Entity\Rooms {#2987
-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 {#1787}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3014
-elements: array:1 [
0 => App\Entity\RoomPrices {#2980
-id: 1495
-title: "InterContinental - Deluxe Face mer - Shoulder"
-room: App\Entity\Rooms {#2987}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2991
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2990
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2989
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2988
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 {#2986
#collection: Doctrine\Common\Collections\ArrayCollection {#2985
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2987}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1620 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1833 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2984
#collection: Doctrine\Common\Collections\ArrayCollection {#2983
-elements: array:11 [
0 => App\Entity\RoomCapacities {#3044
-id: 2535
-room: App\Entity\Rooms {#2987}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2892
-id: 3339
-room: App\Entity\Rooms {#2987}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2923
-id: 3340
-room: App\Entity\Rooms {#2987}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#2910
-id: 3341
-room: App\Entity\Rooms {#2987}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#2899
-id: 3342
-room: App\Entity\Rooms {#2987}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#2999
-id: 3343
-room: App\Entity\Rooms {#2987}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3056
-id: 3344
-room: App\Entity\Rooms {#2987}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3058
-id: 3345
-room: App\Entity\Rooms {#2987}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#2941
-id: 3346
-room: App\Entity\Rooms {#2987}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2901
-id: 3347
-room: App\Entity\Rooms {#2987}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#2893
-id: 3348
-room: App\Entity\Rooms {#2987}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:11 [ …11]
-owner: App\Entity\Rooms {#2987}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1617 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1943 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2916
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#2907
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aebaf5e554743585272.jpg"
-gallery: App\Entity\Galleries {#2979
-id: 89
-hotel: null
-room: App\Entity\Rooms {#2987}
-images: Doctrine\ORM\PersistentCollection {#2978
#collection: Doctrine\Common\Collections\ArrayCollection {#2977
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2979}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-title: "Intercontinental chambre deluxe face mer"
}
-mediaDirSlug: "76"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "deluxe-face-mer"
}
1 => App\Entity\Rooms {#2970
-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 {#1787}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3036
-elements: array:1 [
0 => App\Entity\RoomPrices {#2963
-id: 1501
-title: "InterContinental - Prestige Vue mer - Shoulder"
-room: App\Entity\Rooms {#2970}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2974
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2973
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2972
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2971
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 {#2969
#collection: Doctrine\Common\Collections\ArrayCollection {#2968
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2970}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1620 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1833 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2967
#collection: Doctrine\Common\Collections\ArrayCollection {#2966
-elements: array:12 [
0 => App\Entity\RoomCapacities {#3047
-id: 2545
-room: App\Entity\Rooms {#2970}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3019
-id: 3349
-room: App\Entity\Rooms {#2970}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3059
-id: 3350
-room: App\Entity\Rooms {#2970}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3041
-id: 3351
-room: App\Entity\Rooms {#2970}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3053
-id: 3352
-room: App\Entity\Rooms {#2970}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3051
-id: 3353
-room: App\Entity\Rooms {#2970}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3049
-id: 3354
-room: App\Entity\Rooms {#2970}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3052
-id: 3355
-room: App\Entity\Rooms {#2970}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3057
-id: 3356
-room: App\Entity\Rooms {#2970}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2890
-id: 3357
-room: App\Entity\Rooms {#2970}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3060
-id: 3358
-room: App\Entity\Rooms {#2970}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#3009
-id: 3359
-room: App\Entity\Rooms {#2970}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:12 [ …12]
-owner: App\Entity\Rooms {#2970}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1617 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1943 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2976
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733330060 {#2975
date: 2024-12-04 16:34:20.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aebea88d98706732414.jpg"
-gallery: App\Entity\Galleries {#2962
-id: 170
-hotel: null
-room: App\Entity\Rooms {#2970}
-images: Doctrine\ORM\PersistentCollection {#2961
#collection: Doctrine\Common\Collections\ArrayCollection {#2960
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2962}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-title: "Intercontinental prestige vue mer"
}
-mediaDirSlug: "77"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "prestige-vue-mer"
}
2 => App\Entity\Rooms {#2953
-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 {#1787}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3082
-elements: array:1 [
0 => App\Entity\RoomPrices {#2946
-id: 1507
-title: "InterContinental - Terrace Suite - Shoulder"
-room: App\Entity\Rooms {#2953}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2957
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2956
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2955
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2954
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 {#2952
#collection: Doctrine\Common\Collections\ArrayCollection {#2951
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2953}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1620 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1833 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2950
#collection: Doctrine\Common\Collections\ArrayCollection {#2949
-elements: array:11 [
0 => App\Entity\RoomCapacities {#3075
-id: 2557
-room: App\Entity\Rooms {#2953}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3040
-id: 3360
-room: App\Entity\Rooms {#2953}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3063
-id: 3361
-room: App\Entity\Rooms {#2953}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3067
-id: 3362
-room: App\Entity\Rooms {#2953}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3070
-id: 3363
-room: App\Entity\Rooms {#2953}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3071
-id: 3364
-room: App\Entity\Rooms {#2953}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3073
-id: 3365
-room: App\Entity\Rooms {#2953}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3072
-id: 3366
-room: App\Entity\Rooms {#2953}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3064
-id: 3367
-room: App\Entity\Rooms {#2953}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#3045
-id: 3368
-room: App\Entity\Rooms {#2953}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3018
-id: 3369
-room: App\Entity\Rooms {#2953}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:11 [ …11]
-owner: App\Entity\Rooms {#2953}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1617 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1943 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2959
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#2958
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aec0f4cdb1843384550.jpg"
-gallery: App\Entity\Galleries {#2945
-id: 171
-hotel: null
-room: App\Entity\Rooms {#2953}
-images: Doctrine\ORM\PersistentCollection {#2944
#collection: Doctrine\Common\Collections\ArrayCollection {#2943
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2945}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-title: "Intercontinental terrace suite"
}
-mediaDirSlug: "78"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "terrace-suite"
}
3 => App\Entity\Rooms {#2934
-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 {#1787}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3125
-elements: array:1 [
0 => App\Entity\RoomPrices {#2926
-id: 1513
-title: "InterContinental - Family Room - Shoulder"
-room: App\Entity\Rooms {#2934}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2939
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2938
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2937
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2936
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 {#2933
#collection: Doctrine\Common\Collections\ArrayCollection {#2932
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2934}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1620 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1833 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2931
#collection: Doctrine\Common\Collections\ArrayCollection {#2930
-elements: array:19 [
0 => App\Entity\RoomCapacities {#3110
-id: 2569
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3079
-id: 3370
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3098
-id: 3371
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3102
-id: 3372
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3105
-id: 3373
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3106
-id: 3374
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3108
-id: 3375
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3107
-id: 3376
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3099
-id: 3377
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: 2
-children: 1
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#3008
-id: 3378
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: 2
-children: null
-babies: 1
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3097
-id: 3379
-room: App\Entity\Rooms {#2934}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#3087
-id: 3380
-room: App\Entity\Rooms {#2934}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#3088
-id: 3381
-room: App\Entity\Rooms {#2934}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#3090
-id: 3382
-room: App\Entity\Rooms {#2934}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#3091
-id: 3383
-room: App\Entity\Rooms {#2934}
-adults: 2
-teens: null
-children: 2
-babies: 2
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#3089
-id: 3384
-room: App\Entity\Rooms {#2934}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#3096
-id: 3385
-room: App\Entity\Rooms {#2934}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
17 => App\Entity\RoomCapacities {#3092
-id: 3386
-room: App\Entity\Rooms {#2934}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
18 => App\Entity\RoomCapacities {#3093
-id: 3482
-room: App\Entity\Rooms {#2934}
-adults: 2
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:19 [ …19]
-owner: App\Entity\Rooms {#2934}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1617 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1943 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2942
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733330236 {#2940
date: 2024-12-04 16:37:16.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aecbbcd812481373213.jpg"
-gallery: App\Entity\Galleries {#2925
-id: 172
-hotel: null
-room: App\Entity\Rooms {#2934}
-images: Doctrine\ORM\PersistentCollection {#2924
#collection: Doctrine\Common\Collections\ArrayCollection {#2922
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2925}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-title: "Intercontinental Family room"
}
-mediaDirSlug: "79"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "family-room"
}
4 => App\Entity\Rooms {#2914
-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 {#1787}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3166
-elements: array:1 [
0 => App\Entity\RoomPrices {#2902
-id: 1519
-title: "InterContinental - Duplex Suite - Shoulder"
-room: App\Entity\Rooms {#2914}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2919
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2918
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2917
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2915
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 {#2913
#collection: Doctrine\Common\Collections\ArrayCollection {#2912
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2914}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1620 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1833 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2911
#collection: Doctrine\Common\Collections\ArrayCollection {#2909
-elements: array:17 [
0 => App\Entity\RoomCapacities {#3153
-id: 2598
-room: App\Entity\Rooms {#2914}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#3122
-id: 2600
-room: App\Entity\Rooms {#2914}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#3141
-id: 2602
-room: App\Entity\Rooms {#2914}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#3145
-id: 2604
-room: App\Entity\Rooms {#2914}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#3148
-id: 2606
-room: App\Entity\Rooms {#2914}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#3149
-id: 2607
-room: App\Entity\Rooms {#2914}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#3151
-id: 2608
-room: App\Entity\Rooms {#2914}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#3150
-id: 2609
-room: App\Entity\Rooms {#2914}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#3142
-id: 2610
-room: App\Entity\Rooms {#2914}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#3120
-id: 2611
-room: App\Entity\Rooms {#2914}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#3140
-id: 2612
-room: App\Entity\Rooms {#2914}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#3130
-id: 2614
-room: App\Entity\Rooms {#2914}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#3131
-id: 2615
-room: App\Entity\Rooms {#2914}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#3133
-id: 2616
-room: App\Entity\Rooms {#2914}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#3134
-id: 3387
-room: App\Entity\Rooms {#2914}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#3132
-id: 3388
-room: App\Entity\Rooms {#2914}
-adults: 3
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#3139
-id: 3389
-room: App\Entity\Rooms {#2914}
-adults: 3
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:17 [ …17]
-owner: App\Entity\Rooms {#2914}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1617 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1943 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2921
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729679035 {#2920
date: 2024-10-23 10:23:55.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "6718967b7591a281527865.jpeg"
-gallery: App\Entity\Galleries {#2895
-id: 193
-hotel: null
-room: App\Entity\Rooms {#2914}
-images: Doctrine\ORM\PersistentCollection {#2889
#collection: Doctrine\Common\Collections\ArrayCollection {#2904
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2895}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-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 {#1787}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1549 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1509 …}
}
-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 {#1790
#collection: Doctrine\Common\Collections\ArrayCollection {#1791
-elements: array:5 [
0 => App\Entity\ExtraCharges {#3178
-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 {#1787}
}
1 => App\Entity\ExtraCharges {#3183
-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 {#3175
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735171200 {#3177
date: 2024-12-26 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1787}
}
2 => App\Entity\ExtraCharges {#3185
-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 {#1787}
}
3 => App\Entity\ExtraCharges {#3188
-id: 53
-title: "Suppléments repas Nouvel An"
-description: null
-adultExtra: 135.0
-babyExtra: null
-childExtra: 70.0
-teenExtra: 135.0
-stayStartedAt: DateTimeImmutable @1735603200 {#3186
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#3187
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1787}
}
4 => App\Entity\ExtraCharges {#3189
-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 {#1787}
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Hotels {#1787}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1550 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-imageFile: null
-featuredImage: "66965a9978b3d026622378.jpg"
-gallery: App\Entity\Galleries {#1796
-id: 173
-hotel: App\Entity\Hotels {#1787}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1793
#collection: Doctrine\Common\Collections\ArrayCollection {#1795
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1796}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1670 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1688 …}
}
-title: "Hotel Intercontinental"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#3305}
-highlighted: true
-services: array:1 [
0 => ""
]
-hlStartAt: DateTimeImmutable @1736899200 {#1785
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
-hlEndAt: DateTimeImmutable @1737504000 {#1786
date: 2025-01-22 00:00:00.0 UTC (+00:00)
}
-slug: "intercontinental-resort"
}
-description: null
-stayStartAt: DateTimeImmutable @1719792000 {#3232
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#3208
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1719792000 {#3231
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#3237
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 {#3240
#collection: Doctrine\Common\Collections\ArrayCollection {#3241
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3239}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1758 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1509 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#3242
#collection: Doctrine\Common\Collections\ArrayCollection {#3243
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3239}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1764 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-offers: Doctrine\ORM\PersistentCollection {#3244
#collection: Doctrine\Common\Collections\ArrayCollection {#3245
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3239}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1768 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1679 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#3246
#collection: Doctrine\Common\Collections\ArrayCollection {#3247
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3239}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1770 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#3248
#collection: Doctrine\Common\Collections\ArrayCollection {#3249
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3239}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1776 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1642 …}
}
-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 {#3385
-debug: true
+id: 4
+title: "EARLY BOOKING INTERCONTINENTAL"
+description: null
+type: "EarlyBooking"
+reference: "EB"
+from: DateTimeImmutable @1719792000 {#3232
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#3208
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 {#4248
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#1346
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#1345
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#1344
-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 {#1340
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#1341
+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 {#1895
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1828
+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 {#1567
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#3590
+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 {#3734
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#3735
+name: "App\Entity\Images"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Images.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "medias"
"propertyName" => "imageFile"
"fileNameProperty" => "imageName"
"size" => "size"
"mimeType" => "type"
"originalName" => null
"dimensions" => "dimensions"
]
]
}
]
}
"App\Entity\Slides" => Metadata\ClassHierarchyMetadata {#3738
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#3742
+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 {#1341}
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1828}
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#3590}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#3735}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#3742}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#1343
-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 {#4281
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#4282
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: []
}