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 {#1002
+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 {#1469
+rpId: 2281
+adultsPrice: 355
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1464
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1366
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 : #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 {#1002
+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 {#1405
+rpId: 2288
+adultsPrice: 380
+childrenPrice: 0
+startAt: DateTimeImmutable @1733054400 {#1447
date: 2024-12-01 12:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1366
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 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 {#1002
+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 {#1521
+rpId: 2295
+adultsPrice: 435
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1457
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1366
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 {#1002
+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 {#1493
+rpId: 2302
+adultsPrice: 530
+childrenPrice: 0
+startAt: DateTimeImmutable @1733011200 {#1452
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1733702340 {#1366
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 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 {#1002
+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 {#1002}
"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
]
]
]
]
2 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1002}
"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
]
]
]
]
3 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1002}
"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
]
]
]
]
]
]
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 {#1364
-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 {#1575
-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 {#1494
-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 {#1578
-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: []
}
2 => App\DTO\RoomStayDTO {#1560
-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 {#1568
-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: []
}
3 => App\DTO\RoomStayDTO {#1561
-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 {#1581
-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: []
}
]
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 {#1754
-elements: array:6 [
0 => App\Entity\Offers {#1603
-id: 28
-title: "Free Nights Offer 2=3"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1015
-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 {#839
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672825 {#1008
date: 2024-10-23 08:40:25.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1235
#collection: Doctrine\Common\Collections\ArrayCollection {#1170
-elements: array:4 [
0 => App\Entity\Rooms {#1237
-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 {#1015}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1386
-elements: array:1 [
0 => App\Entity\RoomPrices {#1459
-id: 2281
-title: "Superior Suite"
-room: App\Entity\Rooms {#1237}
-quantity: 52
-stayStartedAt: DateTimeImmutable @1733011200 {#1464
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1463
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1462
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1461
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 {#1284
#collection: Doctrine\Common\Collections\ArrayCollection {#1279
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1237}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1066 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1289 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1256
#collection: Doctrine\Common\Collections\ArrayCollection {#1258
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1437
-id: 1716
-room: App\Entity\Rooms {#1237}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1430
-id: 1717
-room: App\Entity\Rooms {#1237}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1404
-id: 1718
-room: App\Entity\Rooms {#1237}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1237}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1063 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1244 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1018
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400954 {#1017
date: 2024-12-05 12:15:54.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd96c0c24f150323897.jpg"
-gallery: App\Entity\Galleries {#1259
-id: 175
-hotel: null
-room: App\Entity\Rooms {#1237}
-images: Doctrine\ORM\PersistentCollection {#1308
#collection: Doctrine\Common\Collections\ArrayCollection {#1318
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1259}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1039 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1099 …}
}
-title: "Sands suite superieure"
}
-mediaDirSlug: "22"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "superior-suite"
}
1 => App\Entity\Rooms {#1325
-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 {#1015}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1492
-elements: array:1 [
0 => App\Entity\RoomPrices {#1431
-id: 2288
-title: "Deluxe Suite"
-room: App\Entity\Rooms {#1325}
-quantity: 26
-stayStartedAt: DateTimeImmutable @1733054400 {#1447
date: 2024-12-01 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734609600 {#1446
date: 2024-12-19 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1445
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1428
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 {#1328
#collection: Doctrine\Common\Collections\ArrayCollection {#1329
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1325}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1066 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1289 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1330
#collection: Doctrine\Common\Collections\ArrayCollection {#1331
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1474
-id: 1733
-room: App\Entity\Rooms {#1325}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1398
-id: 1734
-room: App\Entity\Rooms {#1325}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1486
-id: 1735
-room: App\Entity\Rooms {#1325}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1325}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1063 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1244 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1323
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400961 {#1324
date: 2024-12-05 12:16:01.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bda2555092060530053.jpg"
-gallery: App\Entity\Galleries {#1332
-id: 176
-hotel: null
-room: App\Entity\Rooms {#1325}
-images: Doctrine\ORM\PersistentCollection {#1333
#collection: Doctrine\Common\Collections\ArrayCollection {#1334
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1332}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1039 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1099 …}
}
-title: "Sands deluxe suite"
}
-mediaDirSlug: "23"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "deluxe-suite"
}
2 => App\Entity\Rooms {#1337
-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 {#1015}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1525
-elements: array:1 [
0 => App\Entity\RoomPrices {#1453
-id: 2295
-title: "Beachfront Suite"
-room: App\Entity\Rooms {#1337}
-quantity: 12
-stayStartedAt: DateTimeImmutable @1733011200 {#1457
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1456
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1455
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1454
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 {#1340
#collection: Doctrine\Common\Collections\ArrayCollection {#1341
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1337}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1066 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1289 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1342
#collection: Doctrine\Common\Collections\ArrayCollection {#1343
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1503
-id: 1747
-room: App\Entity\Rooms {#1337}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1406
-id: 1748
-room: App\Entity\Rooms {#1337}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1518
-id: 1749
-room: App\Entity\Rooms {#1337}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1337}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1063 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1244 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1335
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400974 {#1336
date: 2024-12-05 12:16:14.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bda9a245bc503124079.jpg"
-gallery: App\Entity\Galleries {#1344
-id: 177
-hotel: null
-room: App\Entity\Rooms {#1337}
-images: Doctrine\ORM\PersistentCollection {#1345
#collection: Doctrine\Common\Collections\ArrayCollection {#1346
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1344}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1039 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1099 …}
}
-title: "Sands beachfront suite"
}
-mediaDirSlug: "24"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "beachfront-suite"
}
3 => App\Entity\Rooms {#1349
-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 {#1015}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1540
-elements: array:1 [
0 => App\Entity\RoomPrices {#1448
-id: 2302
-title: "Exclusive Suite"
-room: App\Entity\Rooms {#1349}
-quantity: 1
-stayStartedAt: DateTimeImmutable @1733011200 {#1452
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1734566400 {#1451
date: 2024-12-19 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1450
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1449
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 {#1352
#collection: Doctrine\Common\Collections\ArrayCollection {#1353
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1349}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1066 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1289 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1354
#collection: Doctrine\Common\Collections\ArrayCollection {#1355
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1556
-id: 1762
-room: App\Entity\Rooms {#1349}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1526
-id: 1763
-room: App\Entity\Rooms {#1349}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1544
-id: 3474
-room: App\Entity\Rooms {#1349}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1349}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1063 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1244 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1347
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733400990 {#1348
date: 2024-12-05 12:16:30.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bdafc66b3c703347467.jpg"
-gallery: App\Entity\Galleries {#1356
-id: 178
-hotel: null
-room: App\Entity\Rooms {#1349}
-images: Doctrine\ORM\PersistentCollection {#1357
#collection: Doctrine\Common\Collections\ArrayCollection {#1358
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1356}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1039 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1099 …}
}
-title: "Sands suite exclusive"
}
-mediaDirSlug: "25"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "exclusive-suite"
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-owner: App\Entity\Hotels {#1015}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#883 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1035 …}
}
-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 {#1010
#collection: Doctrine\Common\Collections\ArrayCollection {#1007
-elements: array:2 [
0 => App\Entity\ExtraCharges {#1569
-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 {#1015}
}
1 => App\Entity\ExtraCharges {#1580
-id: 197
-title: "Nouvel An"
-description: null
-adultExtra: 230.0
-babyExtra: null
-childExtra: null
-teenExtra: 230.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1577
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1579
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1015}
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-owner: App\Entity\Hotels {#1015}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#879 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-imageFile: null
-featuredImage: "66965dbe6119f172273068.jpg"
-gallery: App\Entity\Galleries {#1109
-id: 53
-hotel: App\Entity\Hotels {#1015}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1051
#collection: Doctrine\Common\Collections\ArrayCollection {#1054
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1109}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1039 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1099 …}
}
-title: "Hotel Sands"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1754}
-highlighted: true
-services: array:1 [
0 => ""
]
-hlStartAt: DateTimeImmutable @1733011200 {#995
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-hlEndAt: DateTimeImmutable @1733616000 {#1020
date: 2024-12-08 00:00:00.0 UTC (+00:00)
}
-slug: "sands-suites-resort-spa"
}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#1595
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1592
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#1594
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1600
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 {#1605
#collection: Doctrine\Common\Collections\ArrayCollection {#1606
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1603}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1209 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1035 …}
}
-discount: 33
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1607
#collection: Doctrine\Common\Collections\ArrayCollection {#1608
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1603}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1215 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1663
#collection: Doctrine\Common\Collections\ArrayCollection {#1664
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1603}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1219 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1665
#collection: Doctrine\Common\Collections\ArrayCollection {#1666
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1603}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1221 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1667
#collection: Doctrine\Common\Collections\ArrayCollection {#1668
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1603}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1227 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1673
-id: 29
-title: "Free Nights Offer 3=4"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1015}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#1669
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1670
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#1671
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1672
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 {#1674
#collection: Doctrine\Common\Collections\ArrayCollection {#1675
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1673}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1209 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1035 …}
}
-discount: 25
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1676
#collection: Doctrine\Common\Collections\ArrayCollection {#1677
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1673}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1215 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1678
#collection: Doctrine\Common\Collections\ArrayCollection {#1679
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1673}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1219 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1680
#collection: Doctrine\Common\Collections\ArrayCollection {#1681
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1673}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1221 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1682
#collection: Doctrine\Common\Collections\ArrayCollection {#1683
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1673}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1227 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
2 => App\Entity\Offers {#1688
-id: 30
-title: "Free Nights Offer 4=6"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1015}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#1684
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1685
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#1686
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1687
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 {#1689
#collection: Doctrine\Common\Collections\ArrayCollection {#1690
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1688}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1209 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1035 …}
}
-discount: 33
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1691
#collection: Doctrine\Common\Collections\ArrayCollection {#1692
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1688}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1215 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1693
#collection: Doctrine\Common\Collections\ArrayCollection {#1694
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1688}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1219 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1695
#collection: Doctrine\Common\Collections\ArrayCollection {#1696
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1688}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1221 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1697
#collection: Doctrine\Common\Collections\ArrayCollection {#1698
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1688}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1227 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
3 => App\Entity\Offers {#1703
-id: 31
-title: "EARLY BOOKING Sands"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1015}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#1699
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1700
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#1701
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1702
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 {#1704
#collection: Doctrine\Common\Collections\ArrayCollection {#1705
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1703}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1209 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1035 …}
}
-discount: 15
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1706
#collection: Doctrine\Common\Collections\ArrayCollection {#1707
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1703}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1215 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1708
#collection: Doctrine\Common\Collections\ArrayCollection {#1709
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1703}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1219 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1710
#collection: Doctrine\Common\Collections\ArrayCollection {#1711
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1703}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1221 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1712
#collection: Doctrine\Common\Collections\ArrayCollection {#1713
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1703}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1227 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
4 => App\Entity\Offers {#1718
-id: 32
-title: "Free Nights Offer 5=7"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1015}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#1714
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1715
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#1716
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1717
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 {#1719
#collection: Doctrine\Common\Collections\ArrayCollection {#1720
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1718}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1209 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1035 …}
}
-discount: 28
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1721
#collection: Doctrine\Common\Collections\ArrayCollection {#1722
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1718}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1215 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1723
#collection: Doctrine\Common\Collections\ArrayCollection {#1724
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1718}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1219 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1725
#collection: Doctrine\Common\Collections\ArrayCollection {#1726
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1718}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1221 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1727
#collection: Doctrine\Common\Collections\ArrayCollection {#1728
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1718}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1227 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
5 => App\Entity\Offers {#1733
-id: 200
-title: "Free Nights Offer 4=5"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1015}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#1729
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1730
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#1731
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1732
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 {#1734
#collection: Doctrine\Common\Collections\ArrayCollection {#1735
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1733}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1209 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1035 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1736
#collection: Doctrine\Common\Collections\ArrayCollection {#1737
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1733}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1215 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1738
#collection: Doctrine\Common\Collections\ArrayCollection {#1739
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1733}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1219 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1104 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1740
#collection: Doctrine\Common\Collections\ArrayCollection {#1741
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1733}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1221 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1742
#collection: Doctrine\Common\Collections\ArrayCollection {#1743
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1733}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1227 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1013 …}
}
-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 {#1899
-debug: true
+id: 28
+title: "Free Nights Offer 2=3"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 2=3"
+from: DateTimeImmutable @1704067200 {#1595
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#1592
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 {#1903
-debug: true
+id: 29
+title: "Free Nights Offer 3=4"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 3=4"
+from: DateTimeImmutable @1704067200 {#1669
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#1670
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 {#1927
-debug: true
+id: 30
+title: "Free Nights Offer 4=6"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 4=6"
+from: DateTimeImmutable @1704067200 {#1684
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#1685
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 {#2213
-debug: true
+id: 31
+title: "EARLY BOOKING Sands"
+description: null
+type: "EarlyBooking"
+reference: "EB60"
+from: DateTimeImmutable @1704067200 {#1699
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#1700
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 {#2223
-debug: true
+id: 32
+title: "Free Nights Offer 5=7"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 5=7"
+from: DateTimeImmutable @1704067200 {#1714
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#1715
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 {#2220
-debug: true
+id: 200
+title: "Free Nights Offer 4=5"
+description: null
+type: "LongStay"
+reference: "Free Nights Offer 4=5"
+from: DateTimeImmutable @1704067200 {#1729
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#1730
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
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 {#737
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#739
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#740
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#741
-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 {#1361
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1362
+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\Images" => Metadata\ClassHierarchyMetadata {#2322
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2323
+name: "App\Entity\Images"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Images.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "medias"
"propertyName" => "imageFile"
"fileNameProperty" => "imageName"
"size" => "size"
"mimeType" => "type"
"originalName" => null
"dimensions" => "dimensions"
]
]
}
]
}
"App\Entity\Slides" => Metadata\ClassHierarchyMetadata {#2595
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2596
+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\Hotels" => Metadata\ClassHierarchyMetadata {#2810
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#2856
+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 {#2859
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2811
+name: "App\Entity\Posts"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Posts.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_posts"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
]
-loadedClassMetadata: array:5 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1362}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2323}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2596}
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#2856}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2811}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#742
-container: ContainerUIpB4Xl\App_KernelDevDebugContainer {#42 …20}
-mappings: array:5 [
"featured_hotels" => array:8 [
"uri_prefix" => "/uploads/hotels"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/hotels"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.featured_hotels"
"options" => []
]
"directory_namer" => array:2 [
"service" => "vich_uploader.namer_directory_property"
"options" => array:2 [
"property" => "mediaDirSlug"
"transliterate" => true
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"featured_rooms" => array:8 [
"uri_prefix" => "/uploads/rooms"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/rooms"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.featured_rooms"
"options" => []
]
"directory_namer" => array:2 [
"service" => "vich_uploader.namer_directory_property"
"options" => array:2 [
"property" => "mediaDirSlug"
"transliterate" => true
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"featured_posts" => array:8 [
"uri_prefix" => "/uploads/posts"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/posts"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.featured_posts"
"options" => []
]
"directory_namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\CurrentDateTimeDirectoryNamer"
"options" => array:2 [
"date_time_format" => "Y/m/d"
"date_time_property" => "uploadedAt"
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"medias" => array:8 [
"uri_prefix" => "/uploads/medias"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/medias"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.medias"
"options" => []
]
"directory_namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\CurrentDateTimeDirectoryNamer"
"options" => array:2 [
"date_time_format" => "Y/m/d"
"date_time_property" => "uploadedAt"
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"slides" => array:8 [
"uri_prefix" => "/uploads/slides"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/slides"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.slides"
"options" => []
]
"directory_namer" => array:2 [
"service" => null
"options" => null
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
]
-defaultFilenameAttributeSuffix: "_name"
}
}
}
}
+hotel: null
+stars: null
+dateRange: "22/03/2025 - 26/03/2025"
+fromAt: DateTimeImmutable @1742601600 {#3043
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#3044
date: 2025-03-26 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => 5
"child" => 13
"teen" => 18
]
+nights: null
+chambers: []
+stay_rooms: []
}