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 : Salt of Palmar - Chambre : #135 - Chambre "Gardien View" 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 {#993
+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 {#1356
+rpId: 1910
+adultsPrice: 270
+childrenPrice: 0
+startAt: DateTimeImmutable @1742601600 {#1345
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1743033540 {#1344
date: 2025-03-26 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:4 [
"2025-03-22" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 270
"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 : Salt of Palmar - Chambre : #136 - Chambre "Seaview" 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 {#993
+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 {#1377
+rpId: 1921
+adultsPrice: 300
+childrenPrice: 0
+startAt: DateTimeImmutable @1742601600 {#1345
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1743033540 {#1344
date: 2025-03-26 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:4 [
"2025-03-22" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 300
"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 : Salt of Palmar - Chambre : #137 - Chambre "Bang on Beach" 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 {#993
+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 {#1508
+rpId: 1931
+adultsPrice: 330
+childrenPrice: 0
+startAt: DateTimeImmutable @1742601600 {#1345
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1743033540 {#1344
date: 2025-03-26 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:4 [
"2025-03-22" => array:2 [
"adults_price" => 330
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 330
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 330
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 330
"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:3 [
0 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#993
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
"room_id" => 135
"room_picture" => "/uploads/rooms/135/671634540e650377649460.jpg"
"room_name" => "Chambre "Gardien View""
"room_slug" => "chambre-gardien-view"
"room_description" => "Découvrez le lagon turquoise au travers du jardin verdoyant. Écoutez le doux son des filaos qui se balancent dans la brise."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1910
"adult_amount" => 1080
"children_amount" => 0
"basis_amount" => 1080
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
]
]
]
1 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#993}
"room_id" => 136
"room_picture" => "/uploads/rooms/136/67163492bdafa859065851.jpg"
"room_name" => "Chambre "Seaview""
"room_slug" => "chambre-seaview"
"room_description" => """
Vous êtes à deux pas de la piscine et de la mer.\r\n
C’est une bénédiction quotidienne. Autorisez-vous un plongeon rafraîchissant en cours de journée ou installez-vous pour un long bain de soleil.
"""
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1921
"adult_amount" => 1200
"children_amount" => 0
"basis_amount" => 1200
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
]
]
]
2 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#993}
"room_id" => 137
"room_picture" => "/uploads/rooms/137/671634e0d36cb018552240.jpg"
"room_name" => "Chambre "Bang on Beach""
"room_slug" => "chambre-bang-on-beach"
"room_description" => "C’est la vie, la vraie. Ouvrez vos portes sur un sable blanc immaculé. Laissez-vous bercer par le clapotis des vagues pour une bonne nuit de sommeil."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1931
"adult_amount" => 1320
"children_amount" => 0
"basis_amount" => 1320
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 330
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 330
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 330
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 330
"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:3 [
0 => App\DTO\RoomStayDTO {#1342
-marginRate: 20
-id: 135
-name: "Chambre "Gardien View""
-slug: "chambre-gardien-view"
-picture: "/uploads/rooms/135/671634540e650377649460.jpg"
-description: "Découvrez le lagon turquoise au travers du jardin verdoyant. Écoutez le doux son des filaos qui se balancent dans la brise."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 189
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 270
"kids_price" => 0
]
]
"amount" => 1080
]
]
-totalRoomAmount: 1080.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1520
-marginRate: 20
+extraId: 189
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 1080.0
+totalStayAmountWoDiscount: 1080.0
+totalStayAmount: 1080.0
+finalAmountWoDiscount: 1296.0
+finalAmount: 1296.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1523
-marginRate: 20
+extraId: 89
+name: "Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 90
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 360
+kidsExtrasAmount: 0
+stayExtrasAmount: 360
+stayRoomAmount: 1080.0
+totalStayAmountWoDiscount: 1440.0
+totalStayAmount: 1440.0
+finalAmountWoDiscount: 1728.0
+finalAmount: 1728.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1528
-marginRate: 20
+extraId: 90
+name: "Pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 160
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 640
+kidsExtrasAmount: 0
+stayExtrasAmount: 640
+stayRoomAmount: 1080.0
+totalStayAmountWoDiscount: 1720.0
+totalStayAmount: 1720.0
+finalAmountWoDiscount: 2064.0
+finalAmount: 2064.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1529
-marginRate: 20
+extraId: 92
+name: "Formule "Tout Inclus""
+description: null
+stayTotalNights: 4
+dailyAdults: 240
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 960
+kidsExtrasAmount: 0
+stayExtrasAmount: 960
+stayRoomAmount: 1080.0
+totalStayAmountWoDiscount: 2040.0
+totalStayAmount: 2040.0
+finalAmountWoDiscount: 2448.0
+finalAmount: 2448.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
1 => App\DTO\RoomStayDTO {#1467
-marginRate: 20
-id: 136
-name: "Chambre "Seaview""
-slug: "chambre-seaview"
-picture: "/uploads/rooms/136/67163492bdafa859065851.jpg"
-description: """
Vous êtes à deux pas de la piscine et de la mer.\r\n
C’est une bénédiction quotidienne. Autorisez-vous un plongeon rafraîchissant en cours de journée ou installez-vous pour un long bain de soleil.
"""
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 189
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 300
"kids_price" => 0
]
]
"amount" => 1200
]
]
-totalRoomAmount: 1200.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1530
-marginRate: 20
+extraId: 189
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 1200.0
+totalStayAmountWoDiscount: 1200.0
+totalStayAmount: 1200.0
+finalAmountWoDiscount: 1440.0
+finalAmount: 1440.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1531
-marginRate: 20
+extraId: 89
+name: "Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 90
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 360
+kidsExtrasAmount: 0
+stayExtrasAmount: 360
+stayRoomAmount: 1200.0
+totalStayAmountWoDiscount: 1560.0
+totalStayAmount: 1560.0
+finalAmountWoDiscount: 1872.0
+finalAmount: 1872.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1532
-marginRate: 20
+extraId: 90
+name: "Pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 160
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 640
+kidsExtrasAmount: 0
+stayExtrasAmount: 640
+stayRoomAmount: 1200.0
+totalStayAmountWoDiscount: 1840.0
+totalStayAmount: 1840.0
+finalAmountWoDiscount: 2208.0
+finalAmount: 2208.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1533
-marginRate: 20
+extraId: 92
+name: "Formule "Tout Inclus""
+description: null
+stayTotalNights: 4
+dailyAdults: 240
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 960
+kidsExtrasAmount: 0
+stayExtrasAmount: 960
+stayRoomAmount: 1200.0
+totalStayAmountWoDiscount: 2160.0
+totalStayAmount: 2160.0
+finalAmountWoDiscount: 2592.0
+finalAmount: 2592.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
2 => App\DTO\RoomStayDTO {#1484
-marginRate: 20
-id: 137
-name: "Chambre "Bang on Beach""
-slug: "chambre-bang-on-beach"
-picture: "/uploads/rooms/137/671634e0d36cb018552240.jpg"
-description: "C’est la vie, la vraie. Ouvrez vos portes sur un sable blanc immaculé. Laissez-vous bercer par le clapotis des vagues pour une bonne nuit de sommeil."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 189
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 330
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 330
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 330
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 330
"kids_price" => 0
]
]
"amount" => 1320
]
]
-totalRoomAmount: 1320.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1534
-marginRate: 20
+extraId: 189
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 1320.0
+totalStayAmountWoDiscount: 1320.0
+totalStayAmount: 1320.0
+finalAmountWoDiscount: 1584.0
+finalAmount: 1584.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1535
-marginRate: 20
+extraId: 89
+name: "Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 90
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 360
+kidsExtrasAmount: 0
+stayExtrasAmount: 360
+stayRoomAmount: 1320.0
+totalStayAmountWoDiscount: 1680.0
+totalStayAmount: 1680.0
+finalAmountWoDiscount: 2016.0
+finalAmount: 2016.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1536
-marginRate: 20
+extraId: 90
+name: "Pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 160
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 640
+kidsExtrasAmount: 0
+stayExtrasAmount: 640
+stayRoomAmount: 1320.0
+totalStayAmountWoDiscount: 1960.0
+totalStayAmount: 1960.0
+finalAmountWoDiscount: 2352.0
+finalAmount: 2352.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1537
-marginRate: 20
+extraId: 92
+name: "Formule "Tout Inclus""
+description: null
+stayTotalNights: 4
+dailyAdults: 240
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 960
+kidsExtrasAmount: 0
+stayExtrasAmount: 960
+stayRoomAmount: 1320.0
+totalStayAmountWoDiscount: 2280.0
+totalStayAmount: 2280.0
+finalAmountWoDiscount: 2736.0
+finalAmount: 2736.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 {#1702
-elements: array:2 [
0 => App\Entity\Offers {#1620
-id: 238
-title: "FLASH SALES 30%"
-type: "Special"
-hotel: App\Entity\Hotels {#1008
-id: 22
-name: "Salt of Palmar"
-description: """
Le premier SALT devait être à Maurice. C'est notre maison, notre amour, notre fierté et notre joie. C'est une beauté exotique indéniable. Volcanique, blanc, bleu et vert. C'est indien, français, créole, chinois et africain. Ses couleurs, ses histoires, ses coutumes, ses sons et ses saveurs forment un mélange brillant et enivrant qu'il est impossible d'ignorer ou d'oublier. Si vous en faites l'expérience.\r\n
\r\n
C'est pourquoi nous avons créé SALT of Palmar. L’île Maurice est mûre pour l’exploration, imprégnée d’histoire et regorgeant d’un patrimoine humble et d’une culture moderne. Et nous voulons vous montrer la vraie Maurice.
"""
-website: "https://www.saltresorts.com/fr/maurice/hotel/saltofpalmar"
-stars: 5
-youtubeVideoId: "obiIi19ck1o"
-phone: "+230 698 2727"
-email: "reservation@saltresorts.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3744.275639081461!2d57.78713181217443!3d-20.205863881167257!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217cfb1a0e896841%3A0x6e2cca285821d4b0!2sSALT%20of%20Palmar%2C%20an%20adult-only%20boutique%20hotel%2C%20a%20member%20of%20Design%20Hotels!5e0!3m2!1sfr!2sfr!4v1718969540531!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Est"
-createdAt: DateTimeImmutable @1714145854 {#830
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733849171 {#999
date: 2024-12-10 16:46:11.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1224
#collection: Doctrine\Common\Collections\ArrayCollection {#1159
-elements: array:3 [
0 => App\Entity\Rooms {#1226
-id: 135
-name: "Chambre "Gardien View""
-description: "Découvrez le lagon turquoise au travers du jardin verdoyant. Écoutez le doux son des filaos qui se balancent dans la brise."
-active: true
-hotel: App\Entity\Hotels {#1008}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1351
-elements: array:1 [
0 => App\Entity\RoomPrices {#1439
-id: 1910
-title: "Chambre "Gardien View" - Moyenne Saison"
-room: App\Entity\Rooms {#1226}
-quantity: null
-stayStartedAt: DateTimeImmutable @1737201600 {#1382
date: 2025-01-18 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1387
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1442
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1441
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "270.00"
-singleOccupancy: "255.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: 55.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1273
#collection: Doctrine\Common\Collections\ArrayCollection {#1268
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1226}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1057 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1278 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1245
#collection: Doctrine\Common\Collections\ArrayCollection {#1247
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1409
-id: 1777
-room: App\Entity\Rooms {#1226}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1425
-id: 1778
-room: App\Entity\Rooms {#1226}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1427
-id: 1779
-room: App\Entity\Rooms {#1226}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1226}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1054 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1233 …}
}
-createdAt: DateTimeImmutable @1717520580 {#986
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#1011
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "671634540e650377649460.jpg"
-gallery: App\Entity\Galleries {#1248
-id: 108
-hotel: null
-room: App\Entity\Rooms {#1226}
-images: Doctrine\ORM\PersistentCollection {#1297
#collection: Doctrine\Common\Collections\ArrayCollection {#1307
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1248}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "Salt of Palmar Gardien view"
}
-mediaDirSlug: "135"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "chambre-gardien-view"
}
1 => App\Entity\Rooms {#1312
-id: 136
-name: "Chambre "Seaview""
-description: """
Vous êtes à deux pas de la piscine et de la mer.\r\n
C’est une bénédiction quotidienne. Autorisez-vous un plongeon rafraîchissant en cours de journée ou installez-vous pour un long bain de soleil.
"""
-active: true
-hotel: App\Entity\Hotels {#1008}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1501
-elements: array:1 [
0 => App\Entity\RoomPrices {#1433
-id: 1921
-title: "Chambre "Seaview" - Moyenne Saison (copie)"
-room: App\Entity\Rooms {#1312}
-quantity: null
-stayStartedAt: DateTimeImmutable @1737201600 {#1437
date: 2025-01-18 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1436
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1435
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1434
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "300.00"
-singleOccupancy: "285.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: 55.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1315
#collection: Doctrine\Common\Collections\ArrayCollection {#1316
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1312}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1057 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1278 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1317
#collection: Doctrine\Common\Collections\ArrayCollection {#1318
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1457
-id: 1780
-room: App\Entity\Rooms {#1312}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1370
-id: 1781
-room: App\Entity\Rooms {#1312}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1476
-id: 1782
-room: App\Entity\Rooms {#1312}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1312}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1054 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1233 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1310
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#1311
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "67163492bdafa859065851.jpg"
-gallery: App\Entity\Galleries {#1319
-id: 109
-hotel: null
-room: App\Entity\Rooms {#1312}
-images: Doctrine\ORM\PersistentCollection {#1320
#collection: Doctrine\Common\Collections\ArrayCollection {#1321
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1319}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "salt of Palmar Seaview"
}
-mediaDirSlug: "136"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "chambre-seaview"
}
2 => App\Entity\Rooms {#1324
-id: 137
-name: "Chambre "Bang on Beach""
-description: "C’est la vie, la vraie. Ouvrez vos portes sur un sable blanc immaculé. Laissez-vous bercer par le clapotis des vagues pour une bonne nuit de sommeil."
-active: true
-hotel: App\Entity\Hotels {#1008}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1492
-elements: array:1 [
0 => App\Entity\RoomPrices {#1428
-id: 1931
-title: "Chambre "Bang on Beach" - Moyenne Saison (copie)"
-room: App\Entity\Rooms {#1324}
-quantity: null
-stayStartedAt: DateTimeImmutable @1737201600 {#1432
date: 2025-01-18 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1431
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1430
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1429
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "330.00"
-singleOccupancy: "315.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: 55.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1327
#collection: Doctrine\Common\Collections\ArrayCollection {#1328
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1324}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1057 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1278 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1329
#collection: Doctrine\Common\Collections\ArrayCollection {#1330
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1487
-id: 1783
-room: App\Entity\Rooms {#1324}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1378
-id: 1784
-room: App\Entity\Rooms {#1324}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1502
-id: 1785
-room: App\Entity\Rooms {#1324}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1324}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1054 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1233 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1322
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#1323
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "671634e0d36cb018552240.jpg"
-gallery: App\Entity\Galleries {#1331
-id: 110
-hotel: null
-room: App\Entity\Rooms {#1324}
-images: Doctrine\ORM\PersistentCollection {#1332
#collection: Doctrine\Common\Collections\ArrayCollection {#1333
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1331}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "Salt of Palmar Bang on Beach"
}
-mediaDirSlug: "137"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "chambre-bang-on-beach"
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Hotels {#1008}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#874 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1026 …}
}
-address: "Route Côtière, Palmar, Île Maurice"
-checkInTime: "14:00"
-checkOutTime: "11:00"
-babyAgeMax: "2"
-childAgeMax: "16"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1003
#collection: Doctrine\Common\Collections\ArrayCollection {#1001
-elements: array:4 [
0 => App\Entity\ExtraCharges {#1473
-id: 89
-title: "Demi pension"
-description: null
-adultExtra: 45.0
-babyExtra: null
-childExtra: null
-teenExtra: 45.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1008}
}
1 => App\Entity\ExtraCharges {#1522
-id: 90
-title: "Pension complète"
-description: null
-adultExtra: 80.0
-babyExtra: null
-childExtra: null
-teenExtra: 80.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1008}
}
2 => App\Entity\ExtraCharges {#1524
-id: 92
-title: "Formule "Tout Inclus""
-description: null
-adultExtra: 120.0
-babyExtra: null
-childExtra: null
-teenExtra: 90.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1008}
}
3 => App\Entity\ExtraCharges {#1525
-id: 189
-title: "BASE - PETIT DEJEUNER"
-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 {#1008}
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-owner: App\Entity\Hotels {#1008}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#870 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-imageFile: null
-featuredImage: "66965da291ccc236118074.jpg"
-gallery: App\Entity\Galleries {#1101
-id: 21
-hotel: App\Entity\Hotels {#1008}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1044
#collection: Doctrine\Common\Collections\ArrayCollection {#1046
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1101}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "Hotel Salt of Palmar"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1702}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "salt-of-palmar"
}
-description: null
-stayStartAt: DateTimeImmutable @1733011200 {#1560
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1745971200 {#1557
date: 2025-04-30 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1733011200 {#1559
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1739577600 {#1565
date: 2025-02-15 00:00:00.0 UTC (+00:00)
}
-reference: "FLASH SALES 30%"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1622
#collection: Doctrine\Common\Collections\ArrayCollection {#1623
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1198 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1026 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1624
#collection: Doctrine\Common\Collections\ArrayCollection {#1625
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1204 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1626
#collection: Doctrine\Common\Collections\ArrayCollection {#1627
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1208 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1628
#collection: Doctrine\Common\Collections\ArrayCollection {#1629
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1210 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1630
#collection: Doctrine\Common\Collections\ArrayCollection {#1631
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1216 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1636
-id: 239
-title: "FABULOUS OFFER 20%"
-type: "Special"
-hotel: App\Entity\Hotels {#1008}
-description: null
-stayStartAt: DateTimeImmutable @1740268800 {#1632
date: 2025-02-23 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1745971200 {#1633
date: 2025-04-30 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1739664000 {#1634
date: 2025-02-16 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1744675200 {#1635
date: 2025-04-15 00:00:00.0 UTC (+00:00)
}
-reference: "FABULOUS OFFER 20%"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1637
#collection: Doctrine\Common\Collections\ArrayCollection {#1638
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1198 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1026 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1639
#collection: Doctrine\Common\Collections\ArrayCollection {#1640
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1204 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1641
#collection: Doctrine\Common\Collections\ArrayCollection {#1642
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1208 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1643
#collection: Doctrine\Common\Collections\ArrayCollection {#1644
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1210 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1645
#collection: Doctrine\Common\Collections\ArrayCollection {#1646
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1216 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
1 in
PromotionDTO.php
line 522:
if ($offer_bookingStartAt >= $currentBookingDate || $currentBookingDate >= $offer_bookingEndAt)
{
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle(), 'booking dates failure.');
}
return $this;
}
"238 - FLASH SALES 30%"
2 in
PromotionDTO.php
line 522:
if ($offer_bookingStartAt >= $currentBookingDate || $currentBookingDate >= $offer_bookingEndAt)
{
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle(), 'booking dates failure.');
}
return $this;
}
"booking dates failure."
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 {#1892
-debug: true
+id: 239
+title: "FABULOUS OFFER 20%"
+description: null
+type: "Special"
+reference: "FABULOUS OFFER 20%"
+from: DateTimeImmutable @1740268800 {#1632
date: 2025-02-23 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1745971200 {#1633
date: 2025-04-30 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: null
+minNights: null
+maxNights: null
+discountRate: 20
+discountFamilyRates: []
+combinableRate: null
+priority: 1
+extrasDiscountRate: null
+isAllRooms: true
+isCombinable: false
+selectedRoomsIDs: []
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
]
In
HotelController.php
line 172:
$result->updateStayRooms();
}
dump($result);
return $this->render('hotel/show.html.twig', [
'hotel' => $result->getHotel(),
App\DTO\SearchToolsDTO {#1308
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#738
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#739
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#740
-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:1 [
"App\Entity\Rooms" => Metadata\ClassHierarchyMetadata {#1339
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1340
+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
]
]
}
]
}
]
-loadedClassMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1340}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#741
-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: App\Entity\Hotels {#1008
-id: 22
-name: "Salt of Palmar"
-description: """
Le premier SALT devait être à Maurice. C'est notre maison, notre amour, notre fierté et notre joie. C'est une beauté exotique indéniable. Volcanique, blanc, bleu et vert. C'est indien, français, créole, chinois et africain. Ses couleurs, ses histoires, ses coutumes, ses sons et ses saveurs forment un mélange brillant et enivrant qu'il est impossible d'ignorer ou d'oublier. Si vous en faites l'expérience.\r\n
\r\n
C'est pourquoi nous avons créé SALT of Palmar. L’île Maurice est mûre pour l’exploration, imprégnée d’histoire et regorgeant d’un patrimoine humble et d’une culture moderne. Et nous voulons vous montrer la vraie Maurice.
"""
-website: "https://www.saltresorts.com/fr/maurice/hotel/saltofpalmar"
-stars: 5
-youtubeVideoId: "obiIi19ck1o"
-phone: "+230 698 2727"
-email: "reservation@saltresorts.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3744.275639081461!2d57.78713181217443!3d-20.205863881167257!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217cfb1a0e896841%3A0x6e2cca285821d4b0!2sSALT%20of%20Palmar%2C%20an%20adult-only%20boutique%20hotel%2C%20a%20member%20of%20Design%20Hotels!5e0!3m2!1sfr!2sfr!4v1718969540531!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Est"
-createdAt: DateTimeImmutable @1714145854 {#830
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733849171 {#999
date: 2024-12-10 16:46:11.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1224
#collection: Doctrine\Common\Collections\ArrayCollection {#1159
-elements: array:3 [
0 => App\Entity\Rooms {#1226
-id: 135
-name: "Chambre "Gardien View""
-description: "Découvrez le lagon turquoise au travers du jardin verdoyant. Écoutez le doux son des filaos qui se balancent dans la brise."
-active: true
-hotel: App\Entity\Hotels {#1008}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1351
-elements: array:1 [
0 => App\Entity\RoomPrices {#1439
-id: 1910
-title: "Chambre "Gardien View" - Moyenne Saison"
-room: App\Entity\Rooms {#1226}
-quantity: null
-stayStartedAt: DateTimeImmutable @1737201600 {#1382
date: 2025-01-18 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1387
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1442
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1441
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "270.00"
-singleOccupancy: "255.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: 55.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1273
#collection: Doctrine\Common\Collections\ArrayCollection {#1268
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1226}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1057 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1278 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1245
#collection: Doctrine\Common\Collections\ArrayCollection {#1247
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1409
-id: 1777
-room: App\Entity\Rooms {#1226}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1425
-id: 1778
-room: App\Entity\Rooms {#1226}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1427
-id: 1779
-room: App\Entity\Rooms {#1226}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1226}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1054 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1233 …}
}
-createdAt: DateTimeImmutable @1717520580 {#986
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#1011
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "671634540e650377649460.jpg"
-gallery: App\Entity\Galleries {#1248
-id: 108
-hotel: null
-room: App\Entity\Rooms {#1226}
-images: Doctrine\ORM\PersistentCollection {#1297
#collection: Doctrine\Common\Collections\ArrayCollection {#1307
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1248}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "Salt of Palmar Gardien view"
}
-mediaDirSlug: "135"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "chambre-gardien-view"
}
1 => App\Entity\Rooms {#1312
-id: 136
-name: "Chambre "Seaview""
-description: """
Vous êtes à deux pas de la piscine et de la mer.\r\n
C’est une bénédiction quotidienne. Autorisez-vous un plongeon rafraîchissant en cours de journée ou installez-vous pour un long bain de soleil.
"""
-active: true
-hotel: App\Entity\Hotels {#1008}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1501
-elements: array:1 [
0 => App\Entity\RoomPrices {#1433
-id: 1921
-title: "Chambre "Seaview" - Moyenne Saison (copie)"
-room: App\Entity\Rooms {#1312}
-quantity: null
-stayStartedAt: DateTimeImmutable @1737201600 {#1437
date: 2025-01-18 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1436
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1435
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1434
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "300.00"
-singleOccupancy: "285.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: 55.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1315
#collection: Doctrine\Common\Collections\ArrayCollection {#1316
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1312}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1057 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1278 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1317
#collection: Doctrine\Common\Collections\ArrayCollection {#1318
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1457
-id: 1780
-room: App\Entity\Rooms {#1312}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1370
-id: 1781
-room: App\Entity\Rooms {#1312}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1476
-id: 1782
-room: App\Entity\Rooms {#1312}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1312}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1054 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1233 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1310
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#1311
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "67163492bdafa859065851.jpg"
-gallery: App\Entity\Galleries {#1319
-id: 109
-hotel: null
-room: App\Entity\Rooms {#1312}
-images: Doctrine\ORM\PersistentCollection {#1320
#collection: Doctrine\Common\Collections\ArrayCollection {#1321
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1319}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "salt of Palmar Seaview"
}
-mediaDirSlug: "136"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "chambre-seaview"
}
2 => App\Entity\Rooms {#1324
-id: 137
-name: "Chambre "Bang on Beach""
-description: "C’est la vie, la vraie. Ouvrez vos portes sur un sable blanc immaculé. Laissez-vous bercer par le clapotis des vagues pour une bonne nuit de sommeil."
-active: true
-hotel: App\Entity\Hotels {#1008}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1492
-elements: array:1 [
0 => App\Entity\RoomPrices {#1428
-id: 1931
-title: "Chambre "Bang on Beach" - Moyenne Saison (copie)"
-room: App\Entity\Rooms {#1324}
-quantity: null
-stayStartedAt: DateTimeImmutable @1737201600 {#1432
date: 2025-01-18 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1431
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1430
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1429
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "330.00"
-singleOccupancy: "315.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: 55.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1327
#collection: Doctrine\Common\Collections\ArrayCollection {#1328
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1324}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1057 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1278 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1329
#collection: Doctrine\Common\Collections\ArrayCollection {#1330
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1487
-id: 1783
-room: App\Entity\Rooms {#1324}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1378
-id: 1784
-room: App\Entity\Rooms {#1324}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1502
-id: 1785
-room: App\Entity\Rooms {#1324}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1324}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1054 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1233 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1322
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#1323
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "671634e0d36cb018552240.jpg"
-gallery: App\Entity\Galleries {#1331
-id: 110
-hotel: null
-room: App\Entity\Rooms {#1324}
-images: Doctrine\ORM\PersistentCollection {#1332
#collection: Doctrine\Common\Collections\ArrayCollection {#1333
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1331}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "Salt of Palmar Bang on Beach"
}
-mediaDirSlug: "137"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "chambre-bang-on-beach"
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Hotels {#1008}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#874 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1026 …}
}
-address: "Route Côtière, Palmar, Île Maurice"
-checkInTime: "14:00"
-checkOutTime: "11:00"
-babyAgeMax: "2"
-childAgeMax: "16"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1003
#collection: Doctrine\Common\Collections\ArrayCollection {#1001
-elements: array:4 [
0 => App\Entity\ExtraCharges {#1473
-id: 89
-title: "Demi pension"
-description: null
-adultExtra: 45.0
-babyExtra: null
-childExtra: null
-teenExtra: 45.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1008}
}
1 => App\Entity\ExtraCharges {#1522
-id: 90
-title: "Pension complète"
-description: null
-adultExtra: 80.0
-babyExtra: null
-childExtra: null
-teenExtra: 80.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1008}
}
2 => App\Entity\ExtraCharges {#1524
-id: 92
-title: "Formule "Tout Inclus""
-description: null
-adultExtra: 120.0
-babyExtra: null
-childExtra: null
-teenExtra: 90.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1008}
}
3 => App\Entity\ExtraCharges {#1525
-id: 189
-title: "BASE - PETIT DEJEUNER"
-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 {#1008}
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-owner: App\Entity\Hotels {#1008}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#870 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-imageFile: null
-featuredImage: "66965da291ccc236118074.jpg"
-gallery: App\Entity\Galleries {#1101
-id: 21
-hotel: App\Entity\Hotels {#1008}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1044
#collection: Doctrine\Common\Collections\ArrayCollection {#1046
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1101}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "Hotel Salt of Palmar"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1702
-elements: array:2 [
0 => App\Entity\Offers {#1620
-id: 238
-title: "FLASH SALES 30%"
-type: "Special"
-hotel: App\Entity\Hotels {#1008}
-description: null
-stayStartAt: DateTimeImmutable @1733011200 {#1560
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1745971200 {#1557
date: 2025-04-30 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1733011200 {#1559
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1739577600 {#1565
date: 2025-02-15 00:00:00.0 UTC (+00:00)
}
-reference: "FLASH SALES 30%"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1622
#collection: Doctrine\Common\Collections\ArrayCollection {#1623
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1198 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1026 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1624
#collection: Doctrine\Common\Collections\ArrayCollection {#1625
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1204 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1626
#collection: Doctrine\Common\Collections\ArrayCollection {#1627
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1208 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1628
#collection: Doctrine\Common\Collections\ArrayCollection {#1629
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1210 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1630
#collection: Doctrine\Common\Collections\ArrayCollection {#1631
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1216 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1636
-id: 239
-title: "FABULOUS OFFER 20%"
-type: "Special"
-hotel: App\Entity\Hotels {#1008}
-description: null
-stayStartAt: DateTimeImmutable @1740268800 {#1632
date: 2025-02-23 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1745971200 {#1633
date: 2025-04-30 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1739664000 {#1634
date: 2025-02-16 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1744675200 {#1635
date: 2025-04-15 00:00:00.0 UTC (+00:00)
}
-reference: "FABULOUS OFFER 20%"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1637
#collection: Doctrine\Common\Collections\ArrayCollection {#1638
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1198 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1026 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1639
#collection: Doctrine\Common\Collections\ArrayCollection {#1640
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1204 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1641
#collection: Doctrine\Common\Collections\ArrayCollection {#1642
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1208 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1643
#collection: Doctrine\Common\Collections\ArrayCollection {#1644
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1210 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1645
#collection: Doctrine\Common\Collections\ArrayCollection {#1646
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1216 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "salt-of-palmar"
}
+stars: null
+dateRange: ? string
+fromAt: DateTimeImmutable @1742601600 {#1345
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#1344
date: 2025-03-26 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => "2"
"child" => "16"
"teen" => "18"
]
+nights: 4
+chambers: array:1 [
0 => App\DTO\SearchChambersDTO {#993
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
]
+stay_rooms: array:3 [
0 => App\DTO\RoomStayDTO {#1342
-marginRate: 20
-id: 135
-name: "Chambre "Gardien View""
-slug: "chambre-gardien-view"
-picture: "/uploads/rooms/135/671634540e650377649460.jpg"
-description: "Découvrez le lagon turquoise au travers du jardin verdoyant. Écoutez le doux son des filaos qui se balancent dans la brise."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 189
-chambersStayDetails: array:1 [
0 => array:4 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-22" => array:5 [
"adults_price" => 270
"kids_price" => 0
"adults_discount_price" => 216.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
"2025-03-23" => array:5 [
"adults_price" => 270
"kids_price" => 0
"adults_discount_price" => 216.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
"2025-03-24" => array:5 [
"adults_price" => 270
"kids_price" => 0
"adults_discount_price" => 216.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
"2025-03-25" => array:5 [
"adults_price" => 270
"kids_price" => 0
"adults_discount_price" => 216.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
]
"amount" => 1080
"amount_discount" => 864.0
]
]
-totalRoomAmount: 1080.0
-totalRoomAmountDiscounted: 864.0
-marginTotalRoom: 1296.0
-marginTotalRoomDiscounted: 1036.8
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1520
-marginRate: 20
+extraId: 189
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 864.0
+totalStayAmountWoDiscount: 1080.0
+totalStayAmount: 864.0
+finalAmountWoDiscount: 1296.0
+finalAmount: 1036.8
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1523
-marginRate: 20
+extraId: 89
+name: "Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 90
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 360
+kidsExtrasAmount: 0
+stayExtrasAmount: 360
+stayRoomAmount: 864.0
+totalStayAmountWoDiscount: 1440.0
+totalStayAmount: 1224.0
+finalAmountWoDiscount: 1728.0
+finalAmount: 1468.8
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1528
-marginRate: 20
+extraId: 90
+name: "Pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 160
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 640
+kidsExtrasAmount: 0
+stayExtrasAmount: 640
+stayRoomAmount: 864.0
+totalStayAmountWoDiscount: 1720.0
+totalStayAmount: 1504.0
+finalAmountWoDiscount: 2064.0
+finalAmount: 1804.8
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1529
-marginRate: 20
+extraId: 92
+name: "Formule "Tout Inclus""
+description: null
+stayTotalNights: 4
+dailyAdults: 240
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 960
+kidsExtrasAmount: 0
+stayExtrasAmount: 960
+stayRoomAmount: 864.0
+totalStayAmountWoDiscount: 2040.0
+totalStayAmount: 1824.0
+finalAmountWoDiscount: 2448.0
+finalAmount: 2188.8
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: array:1 [
0 => array:14 [
"id" => 239
"title" => "FABULOUS OFFER 20%"
"description" => null
"reference" => "FABULOUS OFFER 20%"
"type" => "Special"
"rate" => 20
"extra_rate" => null
"start" => "23/02/2025"
"end" => "30/04/2025"
"kids_rate" => ""
"partial" => false
"selected_rooms" => []
"stayroom_amount_before" => 1080.0
"stayroom_amount_after" => 864.0
]
]
-error: []
}
1 => App\DTO\RoomStayDTO {#1467
-marginRate: 20
-id: 136
-name: "Chambre "Seaview""
-slug: "chambre-seaview"
-picture: "/uploads/rooms/136/67163492bdafa859065851.jpg"
-description: """
Vous êtes à deux pas de la piscine et de la mer.\r\n
C’est une bénédiction quotidienne. Autorisez-vous un plongeon rafraîchissant en cours de journée ou installez-vous pour un long bain de soleil.
"""
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 189
-chambersStayDetails: array:1 [
0 => array:4 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-22" => array:5 [
"adults_price" => 300
"kids_price" => 0
"adults_discount_price" => 240.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
"2025-03-23" => array:5 [
"adults_price" => 300
"kids_price" => 0
"adults_discount_price" => 240.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
"2025-03-24" => array:5 [
"adults_price" => 300
"kids_price" => 0
"adults_discount_price" => 240.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
"2025-03-25" => array:5 [
"adults_price" => 300
"kids_price" => 0
"adults_discount_price" => 240.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
]
"amount" => 1200
"amount_discount" => 960.0
]
]
-totalRoomAmount: 1200.0
-totalRoomAmountDiscounted: 960.0
-marginTotalRoom: 1440.0
-marginTotalRoomDiscounted: 1152.0
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1530
-marginRate: 20
+extraId: 189
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 960.0
+totalStayAmountWoDiscount: 1200.0
+totalStayAmount: 960.0
+finalAmountWoDiscount: 1440.0
+finalAmount: 1152.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1531
-marginRate: 20
+extraId: 89
+name: "Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 90
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 360
+kidsExtrasAmount: 0
+stayExtrasAmount: 360
+stayRoomAmount: 960.0
+totalStayAmountWoDiscount: 1560.0
+totalStayAmount: 1320.0
+finalAmountWoDiscount: 1872.0
+finalAmount: 1584.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1532
-marginRate: 20
+extraId: 90
+name: "Pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 160
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 640
+kidsExtrasAmount: 0
+stayExtrasAmount: 640
+stayRoomAmount: 960.0
+totalStayAmountWoDiscount: 1840.0
+totalStayAmount: 1600.0
+finalAmountWoDiscount: 2208.0
+finalAmount: 1920.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1533
-marginRate: 20
+extraId: 92
+name: "Formule "Tout Inclus""
+description: null
+stayTotalNights: 4
+dailyAdults: 240
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 960
+kidsExtrasAmount: 0
+stayExtrasAmount: 960
+stayRoomAmount: 960.0
+totalStayAmountWoDiscount: 2160.0
+totalStayAmount: 1920.0
+finalAmountWoDiscount: 2592.0
+finalAmount: 2304.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: array:1 [
0 => array:14 [
"id" => 239
"title" => "FABULOUS OFFER 20%"
"description" => null
"reference" => "FABULOUS OFFER 20%"
"type" => "Special"
"rate" => 20
"extra_rate" => null
"start" => "23/02/2025"
"end" => "30/04/2025"
"kids_rate" => ""
"partial" => false
"selected_rooms" => []
"stayroom_amount_before" => 1200.0
"stayroom_amount_after" => 960.0
]
]
-error: []
}
2 => App\DTO\RoomStayDTO {#1484
-marginRate: 20
-id: 137
-name: "Chambre "Bang on Beach""
-slug: "chambre-bang-on-beach"
-picture: "/uploads/rooms/137/671634e0d36cb018552240.jpg"
-description: "C’est la vie, la vraie. Ouvrez vos portes sur un sable blanc immaculé. Laissez-vous bercer par le clapotis des vagues pour une bonne nuit de sommeil."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 189
-chambersStayDetails: array:1 [
0 => array:4 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-22" => array:5 [
"adults_price" => 330
"kids_price" => 0
"adults_discount_price" => 264.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
"2025-03-23" => array:5 [
"adults_price" => 330
"kids_price" => 0
"adults_discount_price" => 264.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
"2025-03-24" => array:5 [
"adults_price" => 330
"kids_price" => 0
"adults_discount_price" => 264.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
"2025-03-25" => array:5 [
"adults_price" => 330
"kids_price" => 0
"adults_discount_price" => 264.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
239 => array:2 [
"name" => "FABULOUS OFFER 20%"
"rate" => 20
]
]
]
]
"amount" => 1320
"amount_discount" => 1056.0
]
]
-totalRoomAmount: 1320.0
-totalRoomAmountDiscounted: 1056.0
-marginTotalRoom: 1584.0
-marginTotalRoomDiscounted: 1267.2
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1534
-marginRate: 20
+extraId: 189
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 1056.0
+totalStayAmountWoDiscount: 1320.0
+totalStayAmount: 1056.0
+finalAmountWoDiscount: 1584.0
+finalAmount: 1267.2
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1535
-marginRate: 20
+extraId: 89
+name: "Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 90
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 360
+kidsExtrasAmount: 0
+stayExtrasAmount: 360
+stayRoomAmount: 1056.0
+totalStayAmountWoDiscount: 1680.0
+totalStayAmount: 1416.0
+finalAmountWoDiscount: 2016.0
+finalAmount: 1699.2
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1536
-marginRate: 20
+extraId: 90
+name: "Pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 160
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 640
+kidsExtrasAmount: 0
+stayExtrasAmount: 640
+stayRoomAmount: 1056.0
+totalStayAmountWoDiscount: 1960.0
+totalStayAmount: 1696.0
+finalAmountWoDiscount: 2352.0
+finalAmount: 2035.2
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1537
-marginRate: 20
+extraId: 92
+name: "Formule "Tout Inclus""
+description: null
+stayTotalNights: 4
+dailyAdults: 240
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 960
+kidsExtrasAmount: 0
+stayExtrasAmount: 960
+stayRoomAmount: 1056.0
+totalStayAmountWoDiscount: 2280.0
+totalStayAmount: 2016.0
+finalAmountWoDiscount: 2736.0
+finalAmount: 2419.2
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: array:1 [
0 => array:14 [
"id" => 239
"title" => "FABULOUS OFFER 20%"
"description" => null
"reference" => "FABULOUS OFFER 20%"
"type" => "Special"
"rate" => 20
"extra_rate" => null
"start" => "23/02/2025"
"end" => "30/04/2025"
"kids_rate" => ""
"partial" => false
"selected_rooms" => []
"stayroom_amount_before" => 1320.0
"stayroom_amount_after" => 1056.0
]
]
-error: []
}
]
}
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 {#736
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#738
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#739
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#740
-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 {#1339
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1340
+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 {#2390
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2391
+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 {#2657
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2658
+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 {#2883
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#2929
+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 {#2932
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2884
+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 {#1340}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2391}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2658}
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#2929}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2884}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#741
-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: App\Entity\Hotels {#1008
-id: 22
-name: "Salt of Palmar"
-description: """
Le premier SALT devait être à Maurice. C'est notre maison, notre amour, notre fierté et notre joie. C'est une beauté exotique indéniable. Volcanique, blanc, bleu et vert. C'est indien, français, créole, chinois et africain. Ses couleurs, ses histoires, ses coutumes, ses sons et ses saveurs forment un mélange brillant et enivrant qu'il est impossible d'ignorer ou d'oublier. Si vous en faites l'expérience.\r\n
\r\n
C'est pourquoi nous avons créé SALT of Palmar. L’île Maurice est mûre pour l’exploration, imprégnée d’histoire et regorgeant d’un patrimoine humble et d’une culture moderne. Et nous voulons vous montrer la vraie Maurice.
"""
-website: "https://www.saltresorts.com/fr/maurice/hotel/saltofpalmar"
-stars: 5
-youtubeVideoId: "obiIi19ck1o"
-phone: "+230 698 2727"
-email: "reservation@saltresorts.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3744.275639081461!2d57.78713181217443!3d-20.205863881167257!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217cfb1a0e896841%3A0x6e2cca285821d4b0!2sSALT%20of%20Palmar%2C%20an%20adult-only%20boutique%20hotel%2C%20a%20member%20of%20Design%20Hotels!5e0!3m2!1sfr!2sfr!4v1718969540531!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Est"
-createdAt: DateTimeImmutable @1714145854 {#830
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733849171 {#999
date: 2024-12-10 16:46:11.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1224
#collection: Doctrine\Common\Collections\ArrayCollection {#1159
-elements: array:3 [
0 => App\Entity\Rooms {#1226
-id: 135
-name: "Chambre "Gardien View""
-description: "Découvrez le lagon turquoise au travers du jardin verdoyant. Écoutez le doux son des filaos qui se balancent dans la brise."
-active: true
-hotel: App\Entity\Hotels {#1008}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1351
-elements: array:1 [
0 => App\Entity\RoomPrices {#1439
-id: 1910
-title: "Chambre "Gardien View" - Moyenne Saison"
-room: App\Entity\Rooms {#1226}
-quantity: null
-stayStartedAt: DateTimeImmutable @1737201600 {#1382
date: 2025-01-18 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1387
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1442
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1441
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "270.00"
-singleOccupancy: "255.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: 55.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1273
#collection: Doctrine\Common\Collections\ArrayCollection {#1268
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1226}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1057 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1278 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1245
#collection: Doctrine\Common\Collections\ArrayCollection {#1247
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1409
-id: 1777
-room: App\Entity\Rooms {#1226}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1425
-id: 1778
-room: App\Entity\Rooms {#1226}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1427
-id: 1779
-room: App\Entity\Rooms {#1226}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1226}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1054 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1233 …}
}
-createdAt: DateTimeImmutable @1717520580 {#986
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#1011
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "671634540e650377649460.jpg"
-gallery: App\Entity\Galleries {#1248
-id: 108
-hotel: null
-room: App\Entity\Rooms {#1226}
-images: Doctrine\ORM\PersistentCollection {#1297
#collection: Doctrine\Common\Collections\ArrayCollection {#1307
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1248}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "Salt of Palmar Gardien view"
}
-mediaDirSlug: "135"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "chambre-gardien-view"
}
1 => App\Entity\Rooms {#1312
-id: 136
-name: "Chambre "Seaview""
-description: """
Vous êtes à deux pas de la piscine et de la mer.\r\n
C’est une bénédiction quotidienne. Autorisez-vous un plongeon rafraîchissant en cours de journée ou installez-vous pour un long bain de soleil.
"""
-active: true
-hotel: App\Entity\Hotels {#1008}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1501
-elements: array:1 [
0 => App\Entity\RoomPrices {#1433
-id: 1921
-title: "Chambre "Seaview" - Moyenne Saison (copie)"
-room: App\Entity\Rooms {#1312}
-quantity: null
-stayStartedAt: DateTimeImmutable @1737201600 {#1437
date: 2025-01-18 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1436
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1435
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1434
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "300.00"
-singleOccupancy: "285.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: 55.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1315
#collection: Doctrine\Common\Collections\ArrayCollection {#1316
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1312}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1057 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1278 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1317
#collection: Doctrine\Common\Collections\ArrayCollection {#1318
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1457
-id: 1780
-room: App\Entity\Rooms {#1312}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1370
-id: 1781
-room: App\Entity\Rooms {#1312}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1476
-id: 1782
-room: App\Entity\Rooms {#1312}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1312}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1054 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1233 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1310
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#1311
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "67163492bdafa859065851.jpg"
-gallery: App\Entity\Galleries {#1319
-id: 109
-hotel: null
-room: App\Entity\Rooms {#1312}
-images: Doctrine\ORM\PersistentCollection {#1320
#collection: Doctrine\Common\Collections\ArrayCollection {#1321
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1319}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "salt of Palmar Seaview"
}
-mediaDirSlug: "136"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "chambre-seaview"
}
2 => App\Entity\Rooms {#1324
-id: 137
-name: "Chambre "Bang on Beach""
-description: "C’est la vie, la vraie. Ouvrez vos portes sur un sable blanc immaculé. Laissez-vous bercer par le clapotis des vagues pour une bonne nuit de sommeil."
-active: true
-hotel: App\Entity\Hotels {#1008}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1492
-elements: array:1 [
0 => App\Entity\RoomPrices {#1428
-id: 1931
-title: "Chambre "Bang on Beach" - Moyenne Saison (copie)"
-room: App\Entity\Rooms {#1324}
-quantity: null
-stayStartedAt: DateTimeImmutable @1737201600 {#1432
date: 2025-01-18 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1431
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1430
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1429
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "330.00"
-singleOccupancy: "315.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: 55.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1327
#collection: Doctrine\Common\Collections\ArrayCollection {#1328
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1324}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1057 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1278 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1329
#collection: Doctrine\Common\Collections\ArrayCollection {#1330
-elements: array:3 [
0 => App\Entity\RoomCapacities {#1487
-id: 1783
-room: App\Entity\Rooms {#1324}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1378
-id: 1784
-room: App\Entity\Rooms {#1324}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1502
-id: 1785
-room: App\Entity\Rooms {#1324}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Rooms {#1324}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1054 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1233 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1322
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672838 {#1323
date: 2024-10-23 08:40:38.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "671634e0d36cb018552240.jpg"
-gallery: App\Entity\Galleries {#1331
-id: 110
-hotel: null
-room: App\Entity\Rooms {#1324}
-images: Doctrine\ORM\PersistentCollection {#1332
#collection: Doctrine\Common\Collections\ArrayCollection {#1333
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1331}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "Salt of Palmar Bang on Beach"
}
-mediaDirSlug: "137"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "chambre-bang-on-beach"
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Hotels {#1008}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#874 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1026 …}
}
-address: "Route Côtière, Palmar, Île Maurice"
-checkInTime: "14:00"
-checkOutTime: "11:00"
-babyAgeMax: "2"
-childAgeMax: "16"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1003
#collection: Doctrine\Common\Collections\ArrayCollection {#1001
-elements: array:4 [
0 => App\Entity\ExtraCharges {#1473
-id: 89
-title: "Demi pension"
-description: null
-adultExtra: 45.0
-babyExtra: null
-childExtra: null
-teenExtra: 45.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1008}
}
1 => App\Entity\ExtraCharges {#1522
-id: 90
-title: "Pension complète"
-description: null
-adultExtra: 80.0
-babyExtra: null
-childExtra: null
-teenExtra: 80.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1008}
}
2 => App\Entity\ExtraCharges {#1524
-id: 92
-title: "Formule "Tout Inclus""
-description: null
-adultExtra: 120.0
-babyExtra: null
-childExtra: null
-teenExtra: 90.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1008}
}
3 => App\Entity\ExtraCharges {#1525
-id: 189
-title: "BASE - PETIT DEJEUNER"
-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 {#1008}
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-owner: App\Entity\Hotels {#1008}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#870 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-imageFile: null
-featuredImage: "66965da291ccc236118074.jpg"
-gallery: App\Entity\Galleries {#1101
-id: 21
-hotel: App\Entity\Hotels {#1008}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1044
#collection: Doctrine\Common\Collections\ArrayCollection {#1046
-elements: array:5 [
0 => App\Entity\Images {#2407
-id: 50
-title: null
-imageFile: null
-imageName: "6661462699e4e876240493.jpg"
-size: 210358
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 528
]
-updatedAt: DateTimeImmutable @1717650982 {#2406
date: 2024-06-06 05:16:22.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1101}
-uploadedAt: null
}
1 => App\Entity\Images {#2398
-id: 51
-title: null
-imageFile: null
-imageName: "666146269a6a3221530632.jpg"
-size: 251430
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 593
]
-updatedAt: DateTimeImmutable @1717650982 {#2399
date: 2024-06-06 05:16:22.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1101}
-uploadedAt: null
}
2 => App\Entity\Images {#2396
-id: 430
-title: null
-imageFile: null
-imageName: "67053d02ea3bd721173730.jpg"
-size: 234067
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 593
]
-updatedAt: DateTimeImmutable @1728396546 {#2397
date: 2024-10-08 14:09:06.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1101}
-uploadedAt: null
}
3 => App\Entity\Images {#2394
-id: 431
-title: null
-imageFile: null
-imageName: "67053d02eab35985880111.jpg"
-size: 354874
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 593
]
-updatedAt: DateTimeImmutable @1728396546 {#2395
date: 2024-10-08 14:09:06.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1101}
-uploadedAt: null
}
4 => App\Entity\Images {#2392
-id: 432
-title: null
-imageFile: null
-imageName: "67053d02eb001567135814.jpg"
-size: 210358
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 528
]
-updatedAt: DateTimeImmutable @1728396546 {#2393
date: 2024-10-08 14:09:06.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1101}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Galleries {#1101}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1030 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1092 …}
}
-title: "Hotel Salt of Palmar"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1702
-elements: array:2 [
0 => App\Entity\Offers {#1620
-id: 238
-title: "FLASH SALES 30%"
-type: "Special"
-hotel: App\Entity\Hotels {#1008}
-description: null
-stayStartAt: DateTimeImmutable @1733011200 {#1560
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1745971200 {#1557
date: 2025-04-30 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1733011200 {#1559
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1739577600 {#1565
date: 2025-02-15 00:00:00.0 UTC (+00:00)
}
-reference: "FLASH SALES 30%"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1622
#collection: Doctrine\Common\Collections\ArrayCollection {#1623
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1198 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1026 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1624
#collection: Doctrine\Common\Collections\ArrayCollection {#1625
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1204 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1626
#collection: Doctrine\Common\Collections\ArrayCollection {#1627
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1208 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1628
#collection: Doctrine\Common\Collections\ArrayCollection {#1629
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1210 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1630
#collection: Doctrine\Common\Collections\ArrayCollection {#1631
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1620}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1216 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1636
-id: 239
-title: "FABULOUS OFFER 20%"
-type: "Special"
-hotel: App\Entity\Hotels {#1008}
-description: null
-stayStartAt: DateTimeImmutable @1740268800 {#1632
date: 2025-02-23 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1745971200 {#1633
date: 2025-04-30 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1739664000 {#1634
date: 2025-02-16 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1744675200 {#1635
date: 2025-04-15 00:00:00.0 UTC (+00:00)
}
-reference: "FABULOUS OFFER 20%"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1637
#collection: Doctrine\Common\Collections\ArrayCollection {#1638
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1198 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1026 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1639
#collection: Doctrine\Common\Collections\ArrayCollection {#1640
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1204 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1641
#collection: Doctrine\Common\Collections\ArrayCollection {#1642
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1208 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1038 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1643
#collection: Doctrine\Common\Collections\ArrayCollection {#1644
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1210 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1645
#collection: Doctrine\Common\Collections\ArrayCollection {#1646
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1636}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1216 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1006 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "salt-of-palmar"
}
+stars: null
+dateRange: "22/03/2025 - 26/03/2025"
+fromAt: DateTimeImmutable @1742601600 {#3116
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#3115
date: 2025-03-26 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => "2"
"child" => "16"
"teen" => "18"
]
+nights: null
+chambers: []
+stay_rooms: []
}