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 : Le Jadis Beach Resort & Wellness - Chambre : #118 - Imperial Beach Pool Jets Villa, 4 Suites - Piscine chauffée 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 {#1413
+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 {#1658
+rpId: 2270
+adultsPrice: 3287
+childrenPrice: 0
+startAt: DateTimeImmutable @1742601600 {#1466
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1743033540 {#1452
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" => 3287
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 3287
"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:1 [
0 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1413
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
"room_id" => 118
"room_picture" => "/uploads/rooms/118/673ce10f7ae87055585185.webp"
"room_name" => "Imperial Beach Pool Jets Villa, 4 Suites - Piscine chauffée"
"room_slug" => "imperial-beach-pool-jets-villa-4-suites-piscine-chauffee"
"room_description" => "Située sur un terrain isolé de 1 200 m² (12 917 pieds carrés) entouré de murs en pierre historiques magnifiquement fabriqués à la main, avec un accès direct à notre plage tranquille et offrant une vue directe sur les eaux azurées de la mer où que l'on se trouve, notre Imperial Beach Villa est l'un des hébergements côtiers les plus étonnamment luxueux de l'île Maurice. Dotée de somptueux espaces de vie intérieurs et extérieurs comprenant des piscines privées ainsi que de vastes espaces de restauration et de détente, la villa est idéale pour les couples, les amis et les familles intergénérationnelles."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 2270
"adult_amount" => 13148
"children_amount" => 0
"basis_amount" => 13148
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 3287
"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:1 [
0 => App\DTO\RoomStayDTO {#1599
-marginRate: 20
-id: 118
-name: "Imperial Beach Pool Jets Villa, 4 Suites - Piscine chauffée"
-slug: "imperial-beach-pool-jets-villa-4-suites-piscine-chauffee"
-picture: "/uploads/rooms/118/673ce10f7ae87055585185.webp"
-description: "Située sur un terrain isolé de 1 200 m² (12 917 pieds carrés) entouré de murs en pierre historiques magnifiquement fabriqués à la main, avec un accès direct à notre plage tranquille et offrant une vue directe sur les eaux azurées de la mer où que l'on se trouve, notre Imperial Beach Villa est l'un des hébergements côtiers les plus étonnamment luxueux de l'île Maurice. Dotée de somptueux espaces de vie intérieurs et extérieurs comprenant des piscines privées ainsi que de vastes espaces de restauration et de détente, la villa est idéale pour les couples, les amis et les familles intergénérationnelles."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 203
-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" => 3287
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
]
"amount" => 13148
]
]
-totalRoomAmount: 13148.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1636
-marginRate: 20
+extraId: 203
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 13148.0
+totalStayAmountWoDiscount: 13148.0
+totalStayAmount: 13148.0
+finalAmountWoDiscount: 15777.6
+finalAmount: 15777.6
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1629
-marginRate: 20
+extraId: 74
+name: "Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 116
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 464
+kidsExtrasAmount: 0
+stayExtrasAmount: 464
+stayRoomAmount: 13148.0
+totalStayAmountWoDiscount: 13612.0
+totalStayAmount: 13612.0
+finalAmountWoDiscount: 16334.4
+finalAmount: 16334.4
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1643
-marginRate: 20
+extraId: 75
+name: "Pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 184
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 736
+kidsExtrasAmount: 0
+stayExtrasAmount: 736
+stayRoomAmount: 13148.0
+totalStayAmountWoDiscount: 13884.0
+totalStayAmount: 13884.0
+finalAmountWoDiscount: 16660.8
+finalAmount: 16660.8
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1645
-marginRate: 20
+extraId: 76
+name: "Premium All Inclusive"
+description: null
+stayTotalNights: 4
+dailyAdults: 322
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1288
+kidsExtrasAmount: 0
+stayExtrasAmount: 1288
+stayRoomAmount: 13148.0
+totalStayAmountWoDiscount: 14436.0
+totalStayAmount: 14436.0
+finalAmountWoDiscount: 17323.2
+finalAmount: 17323.2
+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 {#1869
-elements: array:2 [
0 => App\Entity\Offers {#1833
-id: 178
-title: "SUPER EARLY BOOKING"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027
-id: 18
-name: "Le Jadis Beach Resort & Wellness"
-description: """
Niché à proximité du parc marin de Balaclava-Turtle Bay, le premier des deux parcs marins nationaux de l'île Maurice, dans la quiétude de Balaclava, Le Jadis est le refuge idéal pour ceux qui cherchent refuge contre la foule et le bruit. Il est situé à seulement vingt minutes du village touristique de Grand Baie et du domaine Mont Choisy Le Golf, ainsi qu'à 45 minutes de l'aéroport international Sir Seewoosagur Ramgoolam.\r\n
\r\n
La propriété de luxe primée, anciennement nommée Angsana Balaclava Mauritius, est gérée par Banyan Tree Hotels and Resorts. D'une intimité merveilleuse, d'une élégance intemporelle, d'un romantisme inspirant et reflétant une forte concentration sur un design réfléchi ainsi que sur des éléments écologiques, Le Jadis ouvre la voie à un style de vie de villégiature tout à fait unique à Maurice.
"""
-website: "https://www.lejadis.com/"
-stars: 5
-youtubeVideoId: "ZiVW-_KhYTE"
-phone: "+230 204 1888"
-email: "reservations@lejadis.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3746.8133388819556!2d57.51093551217254!3d-20.10008828124913!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217c53a7b547e727%3A0xf8d9b15b68b8b75c!2sLe%20Jadis%20Beach%20Resort%20%26%20Wellness%20Mauritius!5e0!3m2!1sfr!2sfr!4v1718969387249!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Nord-Ouest"
-createdAt: DateTimeImmutable @1714145854 {#1019
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1737541154 {#1050
date: 2025-01-22 10:19:14.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1024
#collection: Doctrine\Common\Collections\ArrayCollection {#1023
-elements: array:1 [
0 => App\Entity\Rooms {#1047
-id: 118
-name: "Imperial Beach Pool Jets Villa, 4 Suites - Piscine chauffée"
-description: "Située sur un terrain isolé de 1 200 m² (12 917 pieds carrés) entouré de murs en pierre historiques magnifiquement fabriqués à la main, avec un accès direct à notre plage tranquille et offrant une vue directe sur les eaux azurées de la mer où que l'on se trouve, notre Imperial Beach Villa est l'un des hébergements côtiers les plus étonnamment luxueux de l'île Maurice. Dotée de somptueux espaces de vie intérieurs et extérieurs comprenant des piscines privées ainsi que de vastes espaces de restauration et de détente, la villa est idéale pour les couples, les amis et les familles intergénérationnelles."
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1693
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 2270
-title: "shoulder"
-room: App\Entity\Rooms {#1047}
-quantity: 6
-stayStartedAt: DateTimeImmutable @1740960000 {#1647
date: 2025-03-03 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1743379200 {#1656
date: 2025-03-31 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1722
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1721
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 2
-doubleOccupancy: "3287.00"
-singleOccupancy: "3287.00"
-tripleOccupancy: "115.00"
-active: true
-extraBaby: 0.0
-extraChild: 58.0
-extraTeen: 86.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1083
#collection: Doctrine\Common\Collections\ArrayCollection {#1180
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#904 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1144 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1040
#collection: Doctrine\Common\Collections\ArrayCollection {#1042
-elements: array:2 [
0 => App\Entity\RoomCapacities {#1717
-id: 3293
-room: App\Entity\Rooms {#1047}
-adults: 8
-teens: null
-children: 3
-babies: 4
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 3294
-room: App\Entity\Rooms {#1047}
-adults: 6
-teens: null
-children: 5
-babies: 4
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#906 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1069 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1012
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1732057423 {#1031
date: 2024-11-19 23:03:43.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "673ce10f7ae87055585185.webp"
-gallery: App\Entity\Galleries {#1290
-id: 191
-hotel: null
-room: App\Entity\Rooms {#1047}
-images: Doctrine\ORM\PersistentCollection {#1355
#collection: Doctrine\Common\Collections\ArrayCollection {#1356
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1290}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "le jadis imperial pool 4s"
}
-mediaDirSlug: "118"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "imperial-beach-pool-jets-villa-4-suites-piscine-chauffee"
}
]
}
#initialized: true
-snapshot: array:1 [ …1]
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1116 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-address: "Baie Aux Tortues, Balaclava, Île Maurice"
-checkInTime: "14:00"
-checkOutTime: "12:00"
-babyAgeMax: "3"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:4 [
0 => App\Entity\ExtraCharges {#1616
-id: 74
-title: "Demi pension"
-description: null
-adultExtra: 58.0
-babyExtra: null
-childExtra: 29.0
-teenExtra: 58.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
1 => App\Entity\ExtraCharges {#1632
-id: 75
-title: "Pension complète"
-description: null
-adultExtra: 92.0
-babyExtra: null
-childExtra: 46.0
-teenExtra: 92.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
2 => App\Entity\ExtraCharges {#1622
-id: 76
-title: "Premium All Inclusive"
-description: null
-adultExtra: 161.0
-babyExtra: null
-childExtra: 81.0
-teenExtra: 161.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
3 => App\Entity\ExtraCharges {#1627
-id: 203
-title: "BASE - PETIT DEJEUNER"
-description: null
-adultExtra: 0.0
-babyExtra: null
-childExtra: null
-teenExtra: null
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: true
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1117 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-imageFile: null
-featuredImage: "666144e7e9b02729691640.jpg"
-gallery: App\Entity\Galleries {#1251
-id: 190
-hotel: App\Entity\Hotels {#1027}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1264
#collection: Doctrine\Common\Collections\ArrayCollection {#1263
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1251}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "LE JADIS"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1869}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "le-jadis-beach-resort-wellness"
}
-description: null
-stayStartAt: DateTimeImmutable @1730419200 {#1829
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1830
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1831
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1832
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "SUPER EARLY BOOKING"
-minNights: null
-maxNights: null
-earlyBookingDays: 60
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1834
#collection: Doctrine\Common\Collections\ArrayCollection {#1835
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1833}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1836
#collection: Doctrine\Common\Collections\ArrayCollection {#1837
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1833}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1335 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1838
#collection: Doctrine\Common\Collections\ArrayCollection {#1839
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1833}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1339 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1840
#collection: Doctrine\Common\Collections\ArrayCollection {#1841
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1833}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1341 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1842
#collection: Doctrine\Common\Collections\ArrayCollection {#1843
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1833}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1848
-id: 179
-title: "EARLY BOOKING"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1730419200 {#1844
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1845
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1846
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1847
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "EARLY BOOKING"
-minNights: null
-maxNights: null
-earlyBookingDays: 45
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1849
#collection: Doctrine\Common\Collections\ArrayCollection {#1850
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1848}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1851
#collection: Doctrine\Common\Collections\ArrayCollection {#1852
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1848}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1335 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1853
#collection: Doctrine\Common\Collections\ArrayCollection {#1854
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1848}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1339 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1855
#collection: Doctrine\Common\Collections\ArrayCollection {#1856
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1848}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1341 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1857
#collection: Doctrine\Common\Collections\ArrayCollection {#1858
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1848}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
1 in
PromotionDTO.php
line 546:
// if booking not respect the interval skip this offer - format('%a') return a string of the diff days, need to convert to integer value
if (intval($booking_interval->format('%a')) < $offer_earlybookingDays) {
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle() . '(nb jours: ' . $offer_earlybookingDays . ')', 'Early booking date interval failure. (début séjour dans '.$booking_interval->format('%a').' jours.)');
}
return $this;
}
"178 - SUPER EARLY BOOKING(nb jours: 60)"
2 in
PromotionDTO.php
line 546:
// if booking not respect the interval skip this offer - format('%a') return a string of the diff days, need to convert to integer value
if (intval($booking_interval->format('%a')) < $offer_earlybookingDays) {
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle() . '(nb jours: ' . $offer_earlybookingDays . ')', 'Early booking date interval failure. (début séjour dans '.$booking_interval->format('%a').' jours.)');
}
return $this;
}
"Early booking date interval failure. (début séjour dans 27 jours.)"
1 in
PromotionDTO.php
line 546:
// if booking not respect the interval skip this offer - format('%a') return a string of the diff days, need to convert to integer value
if (intval($booking_interval->format('%a')) < $offer_earlybookingDays) {
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle() . '(nb jours: ' . $offer_earlybookingDays . ')', 'Early booking date interval failure. (début séjour dans '.$booking_interval->format('%a').' jours.)');
}
return $this;
}
"179 - EARLY BOOKING(nb jours: 45)"
2 in
PromotionDTO.php
line 546:
// if booking not respect the interval skip this offer - format('%a') return a string of the diff days, need to convert to integer value
if (intval($booking_interval->format('%a')) < $offer_earlybookingDays) {
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle() . '(nb jours: ' . $offer_earlybookingDays . ')', 'Early booking date interval failure. (début séjour dans '.$booking_interval->format('%a').' jours.)');
}
return $this;
}
"Early booking date interval failure. (début séjour dans 27 jours.)"
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) {
null
1 in
HotelController.php
line 638:
$formBookingHidden->handleRequest($request);
// dump("Session vars:", $siteSession->allVars());
dump("Current Room Price:", $roomRate);
return $this->render('room/show.html.twig', [
'room' => $room,
"Current Room Price:"
2 in
HotelController.php
line 638:
$formBookingHidden->handleRequest($request);
// dump("Session vars:", $siteSession->allVars());
dump("Current Room Price:", $roomRate);
return $this->render('room/show.html.twig', [
'room' => $room,
array:18 [
"hotel_id" => 18
"picture_path" => "/uploads/hotels/18/666144e7e9b02729691640.jpg"
"hotel_name" => "Le Jadis Beach Resort & Wellness"
"room_id" => 118
"room_name" => "Imperial Beach Pool Jets Villa, 4 Suites - Piscine chauffée"
"from" => "22/03/2025"
"to" => "26/03/2025"
"nights" => 4
"neededRooms" => 1
"adults" => 2
"children" => 0
"totalAmount" => 13148.0
"totalAmountDiscounted" => null
"mandatoryExtraId" => 203
"extra" => App\DTO\ExtraStayDTO {#1636
-marginRate: 20
+extraId: 203
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 13148.0
+totalStayAmountWoDiscount: 13148.0
+totalStayAmount: 13148.0
+finalAmountWoDiscount: 15777.6
+finalAmount: 15777.6
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
"specialExtra" => []
"discounts" => []
"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 {#802
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#803
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#804
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#805
-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 {#1580
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1578
+name: "App\Entity\Rooms"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Rooms.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_rooms"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Hotels" => Metadata\ClassHierarchyMetadata {#1670
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1626
+name: "App\Entity\Hotels"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Hotels.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_hotels"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Images" => Metadata\ClassHierarchyMetadata {#2293
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2294
+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 {#2702
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2703
+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\Posts" => Metadata\ClassHierarchyMetadata {#2978
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2977
+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 {#1578}
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1626}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2294}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2703}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2977}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#806
-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 {#1027
-id: 18
-name: "Le Jadis Beach Resort & Wellness"
-description: """
Niché à proximité du parc marin de Balaclava-Turtle Bay, le premier des deux parcs marins nationaux de l'île Maurice, dans la quiétude de Balaclava, Le Jadis est le refuge idéal pour ceux qui cherchent refuge contre la foule et le bruit. Il est situé à seulement vingt minutes du village touristique de Grand Baie et du domaine Mont Choisy Le Golf, ainsi qu'à 45 minutes de l'aéroport international Sir Seewoosagur Ramgoolam.\r\n
\r\n
La propriété de luxe primée, anciennement nommée Angsana Balaclava Mauritius, est gérée par Banyan Tree Hotels and Resorts. D'une intimité merveilleuse, d'une élégance intemporelle, d'un romantisme inspirant et reflétant une forte concentration sur un design réfléchi ainsi que sur des éléments écologiques, Le Jadis ouvre la voie à un style de vie de villégiature tout à fait unique à Maurice.
"""
-website: "https://www.lejadis.com/"
-stars: 5
-youtubeVideoId: "ZiVW-_KhYTE"
-phone: "+230 204 1888"
-email: "reservations@lejadis.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3746.8133388819556!2d57.51093551217254!3d-20.10008828124913!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217c53a7b547e727%3A0xf8d9b15b68b8b75c!2sLe%20Jadis%20Beach%20Resort%20%26%20Wellness%20Mauritius!5e0!3m2!1sfr!2sfr!4v1718969387249!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Nord-Ouest"
-createdAt: DateTimeImmutable @1714145854 {#1019
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1737541154 {#1050
date: 2025-01-22 10:19:14.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1024
#collection: Doctrine\Common\Collections\ArrayCollection {#1023
-elements: array:1 [
0 => App\Entity\Rooms {#1047
-id: 118
-name: "Imperial Beach Pool Jets Villa, 4 Suites - Piscine chauffée"
-description: "Située sur un terrain isolé de 1 200 m² (12 917 pieds carrés) entouré de murs en pierre historiques magnifiquement fabriqués à la main, avec un accès direct à notre plage tranquille et offrant une vue directe sur les eaux azurées de la mer où que l'on se trouve, notre Imperial Beach Villa est l'un des hébergements côtiers les plus étonnamment luxueux de l'île Maurice. Dotée de somptueux espaces de vie intérieurs et extérieurs comprenant des piscines privées ainsi que de vastes espaces de restauration et de détente, la villa est idéale pour les couples, les amis et les familles intergénérationnelles."
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1693
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 2270
-title: "shoulder"
-room: App\Entity\Rooms {#1047}
-quantity: 6
-stayStartedAt: DateTimeImmutable @1740960000 {#1647
date: 2025-03-03 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1743379200 {#1656
date: 2025-03-31 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1722
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1721
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 2
-doubleOccupancy: "3287.00"
-singleOccupancy: "3287.00"
-tripleOccupancy: "115.00"
-active: true
-extraBaby: 0.0
-extraChild: 58.0
-extraTeen: 86.0
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1083
#collection: Doctrine\Common\Collections\ArrayCollection {#1180
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#904 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1144 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1040
#collection: Doctrine\Common\Collections\ArrayCollection {#1042
-elements: array:2 [
0 => App\Entity\RoomCapacities {#1717
-id: 3293
-room: App\Entity\Rooms {#1047}
-adults: 8
-teens: null
-children: 3
-babies: 4
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 3294
-room: App\Entity\Rooms {#1047}
-adults: 6
-teens: null
-children: 5
-babies: 4
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#906 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1069 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1012
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1732057423 {#1031
date: 2024-11-19 23:03:43.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "673ce10f7ae87055585185.webp"
-gallery: App\Entity\Galleries {#1290
-id: 191
-hotel: null
-room: App\Entity\Rooms {#1047}
-images: Doctrine\ORM\PersistentCollection {#1355
#collection: Doctrine\Common\Collections\ArrayCollection {#1356
-elements: array:3 [
0 => App\Entity\Images {#2454
-id: 734
-title: null
-imageFile: null
-imageName: "6733522a847e7348129817.webp"
-size: 200718
-type: "image/webp"
-dimensions: array:2 [
0 => 916
1 => 658
]
-updatedAt: DateTimeImmutable @1731416618 {#2477
date: 2024-11-12 13:03:38.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
1 => App\Entity\Images {#2492
-id: 830
-title: null
-imageFile: null
-imageName: "673ce1b959cbb142514559.webp"
-size: 220516
-type: "image/webp"
-dimensions: array:2 [
0 => 915
1 => 1073
]
-updatedAt: DateTimeImmutable @1732043193 {#2465
date: 2024-11-19 19:06:33.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
2 => App\Entity\Images {#2496
-id: 831
-title: null
-imageFile: null
-imageName: "673ce1cdd1c47505337938.webp"
-size: 109046
-type: "image/webp"
-dimensions: array:2 [
0 => 913
1 => 442
]
-updatedAt: DateTimeImmutable @1732043213 {#2495
date: 2024-11-19 19:06:53.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Galleries {#1290}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "le jadis imperial pool 4s"
}
-mediaDirSlug: "118"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "imperial-beach-pool-jets-villa-4-suites-piscine-chauffee"
}
]
}
#initialized: true
-snapshot: array:1 [ …1]
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1116 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-address: "Baie Aux Tortues, Balaclava, Île Maurice"
-checkInTime: "14:00"
-checkOutTime: "12:00"
-babyAgeMax: "3"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:4 [
0 => App\Entity\ExtraCharges {#1616
-id: 74
-title: "Demi pension"
-description: null
-adultExtra: 58.0
-babyExtra: null
-childExtra: 29.0
-teenExtra: 58.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
1 => App\Entity\ExtraCharges {#1632
-id: 75
-title: "Pension complète"
-description: null
-adultExtra: 92.0
-babyExtra: null
-childExtra: 46.0
-teenExtra: 92.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
2 => App\Entity\ExtraCharges {#1622
-id: 76
-title: "Premium All Inclusive"
-description: null
-adultExtra: 161.0
-babyExtra: null
-childExtra: 81.0
-teenExtra: 161.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
3 => App\Entity\ExtraCharges {#1627
-id: 203
-title: "BASE - PETIT DEJEUNER"
-description: null
-adultExtra: 0.0
-babyExtra: null
-childExtra: null
-teenExtra: null
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: true
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1117 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-imageFile: null
-featuredImage: "666144e7e9b02729691640.jpg"
-gallery: App\Entity\Galleries {#1251
-id: 190
-hotel: App\Entity\Hotels {#1027}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1264
#collection: Doctrine\Common\Collections\ArrayCollection {#1263
-elements: array:3 [
0 => App\Entity\Images {#2306
-id: 731
-title: null
-imageFile: null
-imageName: "67335184b49c7811272449.webp"
-size: 134078
-type: "image/webp"
-dimensions: array:2 [
0 => 915
1 => 691
]
-updatedAt: DateTimeImmutable @1731416452 {#2305
date: 2024-11-12 13:00:52.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
1 => App\Entity\Images {#2297
-id: 732
-title: null
-imageFile: null
-imageName: "673351b24ff9f545224854.webp"
-size: 109046
-type: "image/webp"
-dimensions: array:2 [
0 => 913
1 => 442
]
-updatedAt: DateTimeImmutable @1731416498 {#2298
date: 2024-11-12 13:01:38.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
2 => App\Entity\Images {#2295
-id: 733
-title: null
-imageFile: null
-imageName: "673351c503b86224311680.webp"
-size: 200718
-type: "image/webp"
-dimensions: array:2 [
0 => 916
1 => 658
]
-updatedAt: DateTimeImmutable @1731416517 {#2296
date: 2024-11-12 13:01:57.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Galleries {#1251}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "LE JADIS"
}
-mediaDirSlug: "18"
-offers: Doctrine\Common\Collections\ArrayCollection {#1869
-elements: array:2 [
0 => App\Entity\Offers {#1833
-id: 178
-title: "SUPER EARLY BOOKING"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1730419200 {#1829
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1830
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1831
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1832
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "SUPER EARLY BOOKING"
-minNights: null
-maxNights: null
-earlyBookingDays: 60
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1834
#collection: Doctrine\Common\Collections\ArrayCollection {#1835
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1833}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1836
#collection: Doctrine\Common\Collections\ArrayCollection {#1837
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1833}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1335 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1838
#collection: Doctrine\Common\Collections\ArrayCollection {#1839
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1833}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1339 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1840
#collection: Doctrine\Common\Collections\ArrayCollection {#1841
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1833}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1341 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1842
#collection: Doctrine\Common\Collections\ArrayCollection {#1843
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1833}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1848
-id: 179
-title: "EARLY BOOKING"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1730419200 {#1844
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1845
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1846
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1847
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "EARLY BOOKING"
-minNights: null
-maxNights: null
-earlyBookingDays: 45
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1849
#collection: Doctrine\Common\Collections\ArrayCollection {#1850
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1848}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1851
#collection: Doctrine\Common\Collections\ArrayCollection {#1852
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1848}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1335 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1853
#collection: Doctrine\Common\Collections\ArrayCollection {#1854
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1848}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1339 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1855
#collection: Doctrine\Common\Collections\ArrayCollection {#1856
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1848}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1341 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1857
#collection: Doctrine\Common\Collections\ArrayCollection {#1858
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1848}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "le-jadis-beach-resort-wellness"
}
+stars: null
+dateRange: "22/03/2025 - 26/03/2025"
+fromAt: DateTimeImmutable @1742601600 {#3161
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#3160
date: 2025-03-26 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => "3"
"child" => "12"
"teen" => "18"
]
+nights: 4
+chambers: []
+stay_rooms: array:1 [
0 => App\DTO\RoomStayDTO {#1599
-marginRate: 20
-id: 118
-name: "Imperial Beach Pool Jets Villa, 4 Suites - Piscine chauffée"
-slug: "imperial-beach-pool-jets-villa-4-suites-piscine-chauffee"
-picture: "/uploads/rooms/118/673ce10f7ae87055585185.webp"
-description: "Située sur un terrain isolé de 1 200 m² (12 917 pieds carrés) entouré de murs en pierre historiques magnifiquement fabriqués à la main, avec un accès direct à notre plage tranquille et offrant une vue directe sur les eaux azurées de la mer où que l'on se trouve, notre Imperial Beach Villa est l'un des hébergements côtiers les plus étonnamment luxueux de l'île Maurice. Dotée de somptueux espaces de vie intérieurs et extérieurs comprenant des piscines privées ainsi que de vastes espaces de restauration et de détente, la villa est idéale pour les couples, les amis et les familles intergénérationnelles."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 203
-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" => 3287
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 3287
"kids_price" => 0
]
]
"amount" => 13148
]
]
-totalRoomAmount: 13148.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1636
-marginRate: 20
+extraId: 203
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 13148.0
+totalStayAmountWoDiscount: 13148.0
+totalStayAmount: 13148.0
+finalAmountWoDiscount: 15777.6
+finalAmount: 15777.6
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1629
-marginRate: 20
+extraId: 74
+name: "Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 116
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 464
+kidsExtrasAmount: 0
+stayExtrasAmount: 464
+stayRoomAmount: 13148.0
+totalStayAmountWoDiscount: 13612.0
+totalStayAmount: 13612.0
+finalAmountWoDiscount: 16334.4
+finalAmount: 16334.4
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1643
-marginRate: 20
+extraId: 75
+name: "Pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 184
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 736
+kidsExtrasAmount: 0
+stayExtrasAmount: 736
+stayRoomAmount: 13148.0
+totalStayAmountWoDiscount: 13884.0
+totalStayAmount: 13884.0
+finalAmountWoDiscount: 16660.8
+finalAmount: 16660.8
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1645
-marginRate: 20
+extraId: 76
+name: "Premium All Inclusive"
+description: null
+stayTotalNights: 4
+dailyAdults: 322
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1288
+kidsExtrasAmount: 0
+stayExtrasAmount: 1288
+stayRoomAmount: 13148.0
+totalStayAmountWoDiscount: 14436.0
+totalStayAmount: 14436.0
+finalAmountWoDiscount: 17323.2
+finalAmount: 17323.2
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
]
}