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 {#1408
+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 {#1797
+rpId: 2281
+adultsPrice: 355
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1791
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1410
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 {#1408
+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 {#1826
+rpId: 2295
+adultsPrice: 435
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1763
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1410
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 {#1408
+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 {#1941
+rpId: 2302
+adultsPrice: 530
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1707
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1410
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 {#1408
+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 {#1968
+rpId: 2288
+adultsPrice: 380
+childrenPrice: 0
+startAt: DateTimeImmutable @1733054400 {#1728
date: 2024-12-01 12:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1410
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 {#1408
+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 {#1408}
"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 {#1408}
"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 {#1408}
"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 {#1412
-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 {#2006
-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 {#1969
-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 {#2009
-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 {#1991
-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 {#1999
-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 {#1992
-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 {#2012
-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 {#2185
-elements: array:6 [
0 => App\Entity\Offers {#2034
-id: 28
-title: "Free Nights Offer 2=3"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1350
-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 {#1355
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672825 {#1354
date: 2024-10-23 08:40:25.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1479
#collection: Doctrine\Common\Collections\ArrayCollection {#1480
-elements: array:4 [
0 => App\Entity\Rooms {#1786
-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 {#1350}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1887
-elements: array:1 [
0 => App\Entity\RoomPrices {#1757
-id: 2281
-title: "Superior Suite"
-room: App\Entity\Rooms {#1786}
-quantity: 52
-stayStartedAt: DateTimeImmutable @1733011200 {#1791
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1790
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1789
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1788
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 {#1784
#collection: Doctrine\Common\Collections\ArrayCollection {#1783
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1786}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1459 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1672 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1779
#collection: Doctrine\Common\Collections\ArrayCollection {#1777
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1816
-id: 1716
-room: App\Entity\Rooms {#1786}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1698
-id: 1717
-room: App\Entity\Rooms {#1786}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1730
-id: 1718
-room: App\Entity\Rooms {#1786}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1786}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1456 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1782 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1724
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400954 {#1733
date: 2024-12-05 12:15:54.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd96c0c24f150323897.jpg"
-gallery: App\Entity\Galleries {#1754
-id: 175
-hotel: null
-room: App\Entity\Rooms {#1786}
-images: Doctrine\ORM\PersistentCollection {#1760
#collection: Doctrine\Common\Collections\ArrayCollection {#1747
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1754}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-title: "Sands suite superieure"
}
-mediaDirSlug: "22"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "superior-suite"
}
1 => App\Entity\Rooms {#1742
-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 {#1350}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1917
-elements: array:1 [
0 => App\Entity\RoomPrices {#1693
-id: 2295
-title: "Beachfront Suite"
-room: App\Entity\Rooms {#1742}
-quantity: 12
-stayStartedAt: DateTimeImmutable @1733011200 {#1763
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1739
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1740
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1741
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 {#1743
#collection: Doctrine\Common\Collections\ArrayCollection {#1744
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1742}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1459 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1672 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1745
#collection: Doctrine\Common\Collections\ArrayCollection {#1736
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1933
-id: 1747
-room: App\Entity\Rooms {#1742}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1882
-id: 1748
-room: App\Entity\Rooms {#1742}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1921
-id: 1749
-room: App\Entity\Rooms {#1742}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1742}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1456 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1782 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1746
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400974 {#1762
date: 2024-12-05 12:16:14.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bda9a245bc503124079.jpg"
-gallery: App\Entity\Galleries {#1694
-id: 177
-hotel: null
-room: App\Entity\Rooms {#1742}
-images: Doctrine\ORM\PersistentCollection {#1701
#collection: Doctrine\Common\Collections\ArrayCollection {#1702
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1694}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-title: "Sands beachfront suite"
}
-mediaDirSlug: "24"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "beachfront-suite"
}
2 => App\Entity\Rooms {#1713
-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 {#1350}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1944
-elements: array:1 [
0 => App\Entity\RoomPrices {#1721
-id: 2302
-title: "Exclusive Suite"
-room: App\Entity\Rooms {#1713}
-quantity: 1
-stayStartedAt: DateTimeImmutable @1733011200 {#1707
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1708
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1709
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1711
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 {#1714
#collection: Doctrine\Common\Collections\ArrayCollection {#1715
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1713}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1459 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1672 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1716
#collection: Doctrine\Common\Collections\ArrayCollection {#1718
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1960
-id: 1762
-room: App\Entity\Rooms {#1713}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1873
-id: 1763
-room: App\Entity\Rooms {#1713}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1948
-id: 3474
-room: App\Entity\Rooms {#1713}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1713}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1456 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1782 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1704
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400990 {#1706
date: 2024-12-05 12:16:30.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bdafc66b3c703347467.jpg"
-gallery: App\Entity\Galleries {#1722
-id: 178
-hotel: null
-room: App\Entity\Rooms {#1713}
-images: Doctrine\ORM\PersistentCollection {#1723
#collection: Doctrine\Common\Collections\ArrayCollection {#1725
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1722}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-title: "Sands suite exclusive"
}
-mediaDirSlug: "25"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "exclusive-suite"
}
3 => App\Entity\Rooms {#1681
-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 {#1350}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1971
-elements: array:1 [
0 => App\Entity\RoomPrices {#1889
-id: 2288
-title: "Deluxe Suite"
-room: App\Entity\Rooms {#1681}
-quantity: 26
-stayStartedAt: DateTimeImmutable @1733054400 {#1728
date: 2024-12-01 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734609600 {#1729
date: 2024-12-19 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1731
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1705
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 {#1738
#collection: Doctrine\Common\Collections\ArrayCollection {#1695
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1681}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1459 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1672 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1684
#collection: Doctrine\Common\Collections\ArrayCollection {#1712
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1987
-id: 1733
-room: App\Entity\Rooms {#1681}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1942
-id: 1734
-room: App\Entity\Rooms {#1681}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1975
-id: 1735
-room: App\Entity\Rooms {#1681}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1681}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1456 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1782 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1726
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400961 {#1727
date: 2024-12-05 12:16:01.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bda2555092060530053.jpg"
-gallery: App\Entity\Galleries {#1883
-id: 176
-hotel: null
-room: App\Entity\Rooms {#1681}
-images: Doctrine\ORM\PersistentCollection {#1876
#collection: Doctrine\Common\Collections\ArrayCollection {#1871
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1883}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-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 {#1350}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1388 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1348 …}
}
-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 {#1476
#collection: Doctrine\Common\Collections\ArrayCollection {#1474
-elements: array:2 [
0 => App\Entity\ExtraCharges {#2000
-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 {#1350}
}
1 => App\Entity\ExtraCharges {#2011
-id: 197
-title: "Nouvel An"
-description: null
-adultExtra: 230.0
-babyExtra: null
-childExtra: null
-teenExtra: 230.0
-stayStartedAt: DateTimeImmutable @1735603200 {#2008
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#2010
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1350}
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-owner: App\Entity\Hotels {#1350}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1389 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-imageFile: null
-featuredImage: "66965dbe6119f172273068.jpg"
-gallery: App\Entity\Galleries {#1519
-id: 53
-hotel: App\Entity\Hotels {#1350}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1532
#collection: Doctrine\Common\Collections\ArrayCollection {#1531
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1519}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-title: "Hotel Sands"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#2185}
-highlighted: true
-services: array:1 [
0 => ""
]
-hlStartAt: DateTimeImmutable @1733011200 {#1353
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-hlEndAt: DateTimeImmutable @1733616000 {#1352
date: 2024-12-08 00:00:00.0 UTC (+00:00)
}
-slug: "sands-suites-resort-spa"
}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2026
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2023
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2025
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2031
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 {#2036
#collection: Doctrine\Common\Collections\ArrayCollection {#2037
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2034}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1597 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1348 …}
}
-discount: 33
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2038
#collection: Doctrine\Common\Collections\ArrayCollection {#2039
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2034}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1603 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2094
#collection: Doctrine\Common\Collections\ArrayCollection {#2095
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2034}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1607 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2096
#collection: Doctrine\Common\Collections\ArrayCollection {#2097
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2034}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1609 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2098
#collection: Doctrine\Common\Collections\ArrayCollection {#2099
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2034}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1615 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#2104
-id: 29
-title: "Free Nights Offer 3=4"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1350}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2100
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2101
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2102
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2103
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 {#2105
#collection: Doctrine\Common\Collections\ArrayCollection {#2106
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2104}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1597 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1348 …}
}
-discount: 25
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2107
#collection: Doctrine\Common\Collections\ArrayCollection {#2108
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2104}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1603 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2109
#collection: Doctrine\Common\Collections\ArrayCollection {#2110
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2104}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1607 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2111
#collection: Doctrine\Common\Collections\ArrayCollection {#2112
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2104}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1609 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2113
#collection: Doctrine\Common\Collections\ArrayCollection {#2114
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2104}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1615 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
2 => App\Entity\Offers {#2119
-id: 30
-title: "Free Nights Offer 4=6"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1350}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2115
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2116
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2117
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2118
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 {#2120
#collection: Doctrine\Common\Collections\ArrayCollection {#2121
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2119}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1597 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1348 …}
}
-discount: 33
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2122
#collection: Doctrine\Common\Collections\ArrayCollection {#2123
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2119}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1603 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2124
#collection: Doctrine\Common\Collections\ArrayCollection {#2125
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2119}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1607 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2126
#collection: Doctrine\Common\Collections\ArrayCollection {#2127
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2119}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1609 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2128
#collection: Doctrine\Common\Collections\ArrayCollection {#2129
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2119}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1615 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
3 => App\Entity\Offers {#2134
-id: 31
-title: "EARLY BOOKING Sands"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1350}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2130
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2131
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2132
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2133
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 {#2135
#collection: Doctrine\Common\Collections\ArrayCollection {#2136
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2134}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1597 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1348 …}
}
-discount: 15
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2137
#collection: Doctrine\Common\Collections\ArrayCollection {#2138
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2134}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1603 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2139
#collection: Doctrine\Common\Collections\ArrayCollection {#2140
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2134}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1607 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2141
#collection: Doctrine\Common\Collections\ArrayCollection {#2142
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2134}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1609 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2143
#collection: Doctrine\Common\Collections\ArrayCollection {#2144
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2134}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1615 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
4 => App\Entity\Offers {#2149
-id: 32
-title: "Free Nights Offer 5=7"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1350}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2145
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2146
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2147
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2148
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 {#2150
#collection: Doctrine\Common\Collections\ArrayCollection {#2151
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2149}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1597 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1348 …}
}
-discount: 28
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2152
#collection: Doctrine\Common\Collections\ArrayCollection {#2153
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2149}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1603 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2154
#collection: Doctrine\Common\Collections\ArrayCollection {#2155
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2149}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1607 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2156
#collection: Doctrine\Common\Collections\ArrayCollection {#2157
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2149}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1609 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2158
#collection: Doctrine\Common\Collections\ArrayCollection {#2159
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2149}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1615 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
5 => App\Entity\Offers {#2164
-id: 200
-title: "Free Nights Offer 4=5"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1350}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#2160
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#2161
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#2162
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#2163
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 {#2165
#collection: Doctrine\Common\Collections\ArrayCollection {#2166
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2164}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1597 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1348 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#2167
#collection: Doctrine\Common\Collections\ArrayCollection {#2168
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2164}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1603 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-offers: Doctrine\ORM\PersistentCollection {#2169
#collection: Doctrine\Common\Collections\ArrayCollection {#2170
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2164}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1607 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#2171
#collection: Doctrine\Common\Collections\ArrayCollection {#2172
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2164}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1609 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#2173
#collection: Doctrine\Common\Collections\ArrayCollection {#2174
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#2164}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1615 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-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 {#2330
-debug: true
+id: 28
+title: "Free Nights Offer 2=3"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 2=3"
+from: DateTimeImmutable @1704067200 {#2026
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2023
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 {#2334
-debug: true
+id: 29
+title: "Free Nights Offer 3=4"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 3=4"
+from: DateTimeImmutable @1704067200 {#2100
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2101
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 {#2358
-debug: true
+id: 30
+title: "Free Nights Offer 4=6"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 4=6"
+from: DateTimeImmutable @1704067200 {#2115
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2116
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 {#2644
-debug: true
+id: 31
+title: "EARLY BOOKING Sands"
+description: null
+type: "EarlyBooking"
+reference: "EB60"
+from: DateTimeImmutable @1704067200 {#2130
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2131
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 {#2654
-debug: true
+id: 32
+title: "Free Nights Offer 5=7"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 5=7"
+from: DateTimeImmutable @1704067200 {#2145
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2146
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 {#2651
-debug: true
+id: 200
+title: "Free Nights Offer 4=5"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 4=5"
+from: DateTimeImmutable @1704067200 {#2160
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#2161
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 {#1408
+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 {#2864
+rpId: 1495
+adultsPrice: 370
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2001
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2644
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 {#1408
+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 {#2679
+rpId: 1501
+adultsPrice: 395
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2001
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2644
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 {#1408
+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 {#2917
+rpId: 1507
+adultsPrice: 420
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2001
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2644
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 {#1408
+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 {#2958
+rpId: 1513
+adultsPrice: 520
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2001
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2644
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 {#1408
+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 {#2999
+rpId: 1519
+adultsPrice: 620
+childrenPrice: 0
+startAt: DateTimeImmutable @1736899200 {#2001
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1737590340 {#2644
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 {#1408
+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 {#1408}
"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 {#1408}
"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 {#1408}
"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 {#1408}
"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 {#2651
-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 {#3020
-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 {#3023
-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 {#3030
-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 {#3002
-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 {#3031
-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 {#3032
-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 {#3033
-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 {#3010
-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 {#3034
-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 {#3035
-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 {#3036
-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 {#3011
-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 {#3037
-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 {#3038
-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 {#3039
-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 {#3012
-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 {#3040
-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 {#3041
-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 {#3042
-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 {#3144
-elements: array:1 [
0 => App\Entity\Offers {#3078
-id: 4
-title: "EARLY BOOKING INTERCONTINENTAL"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1626
-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 {#1558
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1734514469 {#1623
date: 2024-12-18 09:34:29.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1627
#collection: Doctrine\Common\Collections\ArrayCollection {#1628
-elements: array:5 [
0 => App\Entity\Rooms {#2826
-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 {#1626}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2853
-elements: array:1 [
0 => App\Entity\RoomPrices {#2819
-id: 1495
-title: "InterContinental - Deluxe Face mer - Shoulder"
-room: App\Entity\Rooms {#2826}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2830
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2829
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2828
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2827
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 {#2825
#collection: Doctrine\Common\Collections\ArrayCollection {#2824
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2826}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1459 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1672 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2823
#collection: Doctrine\Common\Collections\ArrayCollection {#2822
-elements: array:11 [
0 => App\Entity\RoomCapacities {#2883
-id: 2535
-room: App\Entity\Rooms {#2826}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2731
-id: 3339
-room: App\Entity\Rooms {#2826}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2762
-id: 3340
-room: App\Entity\Rooms {#2826}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#2749
-id: 3341
-room: App\Entity\Rooms {#2826}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#2738
-id: 3342
-room: App\Entity\Rooms {#2826}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#2838
-id: 3343
-room: App\Entity\Rooms {#2826}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#2895
-id: 3344
-room: App\Entity\Rooms {#2826}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#2897
-id: 3345
-room: App\Entity\Rooms {#2826}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#2780
-id: 3346
-room: App\Entity\Rooms {#2826}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2740
-id: 3347
-room: App\Entity\Rooms {#2826}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#2732
-id: 3348
-room: App\Entity\Rooms {#2826}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:11 [ …11]
-owner: App\Entity\Rooms {#2826}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1456 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1782 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2755
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#2746
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aebaf5e554743585272.jpg"
-gallery: App\Entity\Galleries {#2818
-id: 89
-hotel: null
-room: App\Entity\Rooms {#2826}
-images: Doctrine\ORM\PersistentCollection {#2817
#collection: Doctrine\Common\Collections\ArrayCollection {#2816
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2818}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-title: "Intercontinental chambre deluxe face mer"
}
-mediaDirSlug: "76"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "deluxe-face-mer"
}
1 => App\Entity\Rooms {#2809
-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 {#1626}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2875
-elements: array:1 [
0 => App\Entity\RoomPrices {#2802
-id: 1501
-title: "InterContinental - Prestige Vue mer - Shoulder"
-room: App\Entity\Rooms {#2809}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2813
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2812
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2811
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2810
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 {#2808
#collection: Doctrine\Common\Collections\ArrayCollection {#2807
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2809}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1459 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1672 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2806
#collection: Doctrine\Common\Collections\ArrayCollection {#2805
-elements: array:12 [
0 => App\Entity\RoomCapacities {#2886
-id: 2545
-room: App\Entity\Rooms {#2809}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2858
-id: 3349
-room: App\Entity\Rooms {#2809}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2898
-id: 3350
-room: App\Entity\Rooms {#2809}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#2880
-id: 3351
-room: App\Entity\Rooms {#2809}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#2892
-id: 3352
-room: App\Entity\Rooms {#2809}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#2890
-id: 3353
-room: App\Entity\Rooms {#2809}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#2888
-id: 3354
-room: App\Entity\Rooms {#2809}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#2891
-id: 3355
-room: App\Entity\Rooms {#2809}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#2896
-id: 3356
-room: App\Entity\Rooms {#2809}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2729
-id: 3357
-room: App\Entity\Rooms {#2809}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#2899
-id: 3358
-room: App\Entity\Rooms {#2809}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#2848
-id: 3359
-room: App\Entity\Rooms {#2809}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:12 [ …12]
-owner: App\Entity\Rooms {#2809}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1456 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1782 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2815
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733330060 {#2814
date: 2024-12-04 16:34:20.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aebea88d98706732414.jpg"
-gallery: App\Entity\Galleries {#2801
-id: 170
-hotel: null
-room: App\Entity\Rooms {#2809}
-images: Doctrine\ORM\PersistentCollection {#2800
#collection: Doctrine\Common\Collections\ArrayCollection {#2799
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2801}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-title: "Intercontinental prestige vue mer"
}
-mediaDirSlug: "77"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "prestige-vue-mer"
}
2 => App\Entity\Rooms {#2792
-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 {#1626}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2921
-elements: array:1 [
0 => App\Entity\RoomPrices {#2785
-id: 1507
-title: "InterContinental - Terrace Suite - Shoulder"
-room: App\Entity\Rooms {#2792}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2796
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2795
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2794
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2793
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 {#2791
#collection: Doctrine\Common\Collections\ArrayCollection {#2790
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2792}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1459 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1672 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2789
#collection: Doctrine\Common\Collections\ArrayCollection {#2788
-elements: array:11 [
0 => App\Entity\RoomCapacities {#2914
-id: 2557
-room: App\Entity\Rooms {#2792}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2879
-id: 3360
-room: App\Entity\Rooms {#2792}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2902
-id: 3361
-room: App\Entity\Rooms {#2792}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#2906
-id: 3362
-room: App\Entity\Rooms {#2792}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#2909
-id: 3363
-room: App\Entity\Rooms {#2792}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#2910
-id: 3364
-room: App\Entity\Rooms {#2792}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#2912
-id: 3365
-room: App\Entity\Rooms {#2792}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#2911
-id: 3366
-room: App\Entity\Rooms {#2792}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#2903
-id: 3367
-room: App\Entity\Rooms {#2792}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2884
-id: 3368
-room: App\Entity\Rooms {#2792}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#2857
-id: 3369
-room: App\Entity\Rooms {#2792}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:11 [ …11]
-owner: App\Entity\Rooms {#2792}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1456 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1782 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2798
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#2797
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aec0f4cdb1843384550.jpg"
-gallery: App\Entity\Galleries {#2784
-id: 171
-hotel: null
-room: App\Entity\Rooms {#2792}
-images: Doctrine\ORM\PersistentCollection {#2783
#collection: Doctrine\Common\Collections\ArrayCollection {#2782
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2784}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-title: "Intercontinental terrace suite"
}
-mediaDirSlug: "78"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "terrace-suite"
}
3 => App\Entity\Rooms {#2773
-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 {#1626}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#2964
-elements: array:1 [
0 => App\Entity\RoomPrices {#2765
-id: 1513
-title: "InterContinental - Family Room - Shoulder"
-room: App\Entity\Rooms {#2773}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2778
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2777
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2776
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2775
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 {#2772
#collection: Doctrine\Common\Collections\ArrayCollection {#2771
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2773}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1459 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1672 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2770
#collection: Doctrine\Common\Collections\ArrayCollection {#2769
-elements: array:19 [
0 => App\Entity\RoomCapacities {#2949
-id: 2569
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2918
-id: 3370
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2937
-id: 3371
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#2941
-id: 3372
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#2944
-id: 3373
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#2945
-id: 3374
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#2947
-id: 3375
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#2946
-id: 3376
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#2938
-id: 3377
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: 2
-children: 1
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2847
-id: 3378
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: 2
-children: null
-babies: 1
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#2936
-id: 3379
-room: App\Entity\Rooms {#2773}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#2926
-id: 3380
-room: App\Entity\Rooms {#2773}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#2927
-id: 3381
-room: App\Entity\Rooms {#2773}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#2929
-id: 3382
-room: App\Entity\Rooms {#2773}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#2930
-id: 3383
-room: App\Entity\Rooms {#2773}
-adults: 2
-teens: null
-children: 2
-babies: 2
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#2928
-id: 3384
-room: App\Entity\Rooms {#2773}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#2935
-id: 3385
-room: App\Entity\Rooms {#2773}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
17 => App\Entity\RoomCapacities {#2931
-id: 3386
-room: App\Entity\Rooms {#2773}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
18 => App\Entity\RoomCapacities {#2932
-id: 3482
-room: App\Entity\Rooms {#2773}
-adults: 2
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:19 [ …19]
-owner: App\Entity\Rooms {#2773}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1456 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1782 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2781
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733330236 {#2779
date: 2024-12-04 16:37:16.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666aecbbcd812481373213.jpg"
-gallery: App\Entity\Galleries {#2764
-id: 172
-hotel: null
-room: App\Entity\Rooms {#2773}
-images: Doctrine\ORM\PersistentCollection {#2763
#collection: Doctrine\Common\Collections\ArrayCollection {#2761
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2764}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-title: "Intercontinental Family room"
}
-mediaDirSlug: "79"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "family-room"
}
4 => App\Entity\Rooms {#2753
-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 {#1626}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#3005
-elements: array:1 [
0 => App\Entity\RoomPrices {#2741
-id: 1519
-title: "InterContinental - Duplex Suite - Shoulder"
-room: App\Entity\Rooms {#2753}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736337600 {#2758
date: 2025-01-08 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746532800 {#2757
date: 2025-05-06 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#2756
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#2754
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 {#2752
#collection: Doctrine\Common\Collections\ArrayCollection {#2751
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2753}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1459 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1672 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#2750
#collection: Doctrine\Common\Collections\ArrayCollection {#2748
-elements: array:17 [
0 => App\Entity\RoomCapacities {#2992
-id: 2598
-room: App\Entity\Rooms {#2753}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#2961
-id: 2600
-room: App\Entity\Rooms {#2753}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#2980
-id: 2602
-room: App\Entity\Rooms {#2753}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#2984
-id: 2604
-room: App\Entity\Rooms {#2753}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#2987
-id: 2606
-room: App\Entity\Rooms {#2753}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#2988
-id: 2607
-room: App\Entity\Rooms {#2753}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#2990
-id: 2608
-room: App\Entity\Rooms {#2753}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#2989
-id: 2609
-room: App\Entity\Rooms {#2753}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#2981
-id: 2610
-room: App\Entity\Rooms {#2753}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#2959
-id: 2611
-room: App\Entity\Rooms {#2753}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#2979
-id: 2612
-room: App\Entity\Rooms {#2753}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#2969
-id: 2614
-room: App\Entity\Rooms {#2753}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#2970
-id: 2615
-room: App\Entity\Rooms {#2753}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#2972
-id: 2616
-room: App\Entity\Rooms {#2753}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#2973
-id: 3387
-room: App\Entity\Rooms {#2753}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#2971
-id: 3388
-room: App\Entity\Rooms {#2753}
-adults: 3
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#2978
-id: 3389
-room: App\Entity\Rooms {#2753}
-adults: 3
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:17 [ …17]
-owner: App\Entity\Rooms {#2753}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1456 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1782 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2760
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729679035 {#2759
date: 2024-10-23 10:23:55.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "6718967b7591a281527865.jpeg"
-gallery: App\Entity\Galleries {#2734
-id: 193
-hotel: null
-room: App\Entity\Rooms {#2753}
-images: Doctrine\ORM\PersistentCollection {#2728
#collection: Doctrine\Common\Collections\ArrayCollection {#2743
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2734}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-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 {#1626}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1388 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1348 …}
}
-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 {#1629
#collection: Doctrine\Common\Collections\ArrayCollection {#1630
-elements: array:5 [
0 => App\Entity\ExtraCharges {#3017
-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 {#1626}
}
1 => App\Entity\ExtraCharges {#3022
-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 {#3014
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735171200 {#3016
date: 2024-12-26 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1626}
}
2 => App\Entity\ExtraCharges {#3024
-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 {#1626}
}
3 => App\Entity\ExtraCharges {#3027
-id: 53
-title: "Suppléments repas Nouvel An"
-description: null
-adultExtra: 135.0
-babyExtra: null
-childExtra: 70.0
-teenExtra: 135.0
-stayStartedAt: DateTimeImmutable @1735603200 {#3025
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#3026
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1626}
}
4 => App\Entity\ExtraCharges {#3028
-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 {#1626}
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Hotels {#1626}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1389 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-imageFile: null
-featuredImage: "66965a9978b3d026622378.jpg"
-gallery: App\Entity\Galleries {#1635
-id: 173
-hotel: App\Entity\Hotels {#1626}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1632
#collection: Doctrine\Common\Collections\ArrayCollection {#1634
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1635}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1509 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1527 …}
}
-title: "Hotel Intercontinental"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#3144}
-highlighted: true
-services: array:1 [
0 => ""
]
-hlStartAt: DateTimeImmutable @1736899200 {#1624
date: 2025-01-15 00:00:00.0 UTC (+00:00)
}
-hlEndAt: DateTimeImmutable @1737504000 {#1625
date: 2025-01-22 00:00:00.0 UTC (+00:00)
}
-slug: "intercontinental-resort"
}
-description: null
-stayStartAt: DateTimeImmutable @1719792000 {#3071
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#3047
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1719792000 {#3070
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#3076
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 {#3079
#collection: Doctrine\Common\Collections\ArrayCollection {#3080
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3078}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1597 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1348 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#3081
#collection: Doctrine\Common\Collections\ArrayCollection {#3082
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3078}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1603 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-offers: Doctrine\ORM\PersistentCollection {#3083
#collection: Doctrine\Common\Collections\ArrayCollection {#3084
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3078}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1607 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1518 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#3085
#collection: Doctrine\Common\Collections\ArrayCollection {#3086
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3078}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1609 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#3087
#collection: Doctrine\Common\Collections\ArrayCollection {#3088
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#3078}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1615 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1481 …}
}
-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 {#3224
-debug: true
+id: 4
+title: "EARLY BOOKING INTERCONTINENTAL"
+description: null
+type: "EarlyBooking"
+reference: "EB"
+from: DateTimeImmutable @1719792000 {#3071
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#3047
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 {#4089
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#747
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#748
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#749
-metadata: Vich\UploaderBundle\Metadata\MetadataReader {#458
-reader: Metadata\MetadataFactory {#450
-driver: Metadata\Driver\DriverChain {#451
-drivers: array:4 [
0 => Vich\UploaderBundle\Metadata\Driver\XmlDriver {#452
-locator: Metadata\Driver\FileLocator {#449
-dirs: []
}
}
1 => Vich\UploaderBundle\Metadata\Driver\AnnotationDriver {#453
#reader: Vich\UploaderBundle\Metadata\Driver\AttributeReader {#454}
-managerRegistryList: array:1 [
0 => Doctrine\Bundle\DoctrineBundle\Registry {#83
-name: "ORM"
-connections: array:1 [
"default" => "doctrine.dbal.default_connection"
]
-managers: array:1 [
"default" => "doctrine.orm.default_entity_manager"
]
-defaultConnection: "default"
-defaultManager: "default"
-proxyInterfaceName: "Doctrine\Persistence\Proxy"
#container: ContainerUIpB4Xl\App_KernelDevDebugContainer {#42 …20}
}
]
}
2 => Vich\UploaderBundle\Metadata\Driver\YamlDriver {#455
-locator: Metadata\Driver\FileLocator {#449}
}
3 => Vich\UploaderBundle\Metadata\Driver\YmlDriver {#456
-locator: Metadata\Driver\FileLocator {#449}
}
]
}
-cache: Metadata\Cache\FileCache {#457
-dir: "/var/www/vhost/allons-maurice/app/var/cache/dev/vich_uploader"
}
-loadedMetadata: array:5 [
"App\Entity\Rooms" => Metadata\ClassHierarchyMetadata {#1734
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1667
+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 {#3466
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#3467
+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\Posts" => Metadata\ClassHierarchyMetadata {#3552
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3550
+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\Slides" => Metadata\ClassHierarchyMetadata {#3554
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#3533
+name: "App\Entity\Slides"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Slides.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "slides"
"propertyName" => "imageFile"
"fileNameProperty" => "bgImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Images" => Metadata\ClassHierarchyMetadata {#3553
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#3549
+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"
]
]
}
]
}
]
-loadedClassMetadata: array:5 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1667}
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#3467}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3550}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#3533}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#3549}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#750
-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: "23/03/2025 - 27/03/2025"
+fromAt: DateTimeImmutable @1742688000 {#4122
date: 2025-03-23 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743119940 {#4123
date: 2025-03-27 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: []
}