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 : Maradiva Villas Resort & Spa - Chambre : #30 - Exclusive Suite Pool Villa 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 {#1697
+rpId: 2335
+adultsPrice: 3200
+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" => 3200
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 3200
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 3200
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 3200
"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" => 30
"room_picture" => "/uploads/rooms/30/666bd21696018184581499.jpeg"
"room_name" => "Exclusive Suite Pool Villa"
"room_slug" => "exclusive-suite-pool-villa"
"room_description" => """
Ces villas de 220 m² sont de spacieux refuges exclusifs, où règnent élégance et espace. \r\n
La beauté du jardin privatif et les vues imprenables sur l’océan Indien en font un lieu privilégié pour une véritable immersion dans la nature – une escapade tropicale. \r\n
À l’intérieur, une chambre luxueuse et une salle de bains attenante sont associées à de vastes espaces de vie. En extérieur, vous trouverez une terrasse, lieu idéal pour manger en plein air, se prélasser et nager dans la piscine à débordement privée et chauffée de 25 m².
"""
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 2335
"adult_amount" => 12800
"children_amount" => 0
"basis_amount" => 12800
"mandatoryExtraId" => null
"default_extra_label" => "DEMI PENSION"
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 3200
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 3200
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 3200
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 3200
"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: 30
-name: "Exclusive Suite Pool Villa"
-slug: "exclusive-suite-pool-villa"
-picture: "/uploads/rooms/30/666bd21696018184581499.jpeg"
-description: """
Ces villas de 220 m² sont de spacieux refuges exclusifs, où règnent élégance et espace. \r\n
La beauté du jardin privatif et les vues imprenables sur l’océan Indien en font un lieu privilégié pour une véritable immersion dans la nature – une escapade tropicale. \r\n
À l’intérieur, une chambre luxueuse et une salle de bains attenante sont associées à de vastes espaces de vie. En extérieur, vous trouverez une terrasse, lieu idéal pour manger en plein air, se prélasser et nager dans la piscine à débordement privée et chauffée de 25 m².
"""
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "DEMI PENSION"
-mandatoryExtraId: null
-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" => 3200
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 3200
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 3200
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 3200
"kids_price" => 0
]
]
"amount" => 12800
]
]
-totalRoomAmount: 12800.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:1 [
0 => App\DTO\ExtraStayDTO {#1651
-marginRate: 20
+extraId: 198
+name: "Dinner Supplement"
+description: null
+stayTotalNights: 4
+dailyAdults: 300
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1200
+kidsExtrasAmount: 0
+stayExtrasAmount: 1200
+stayRoomAmount: 12800.0
+totalStayAmountWoDiscount: 14000.0
+totalStayAmount: 14000.0
+finalAmountWoDiscount: 16800.0
+finalAmount: 16800.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 {#1905
-elements: array:2 [
0 => App\Entity\Offers {#1824
-id: 52
-title: "MARADIVA STAY OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1027
-id: 5
-name: "Maradiva Villas Resort & Spa"
-description: """
UN RESORT VRAIMENT EXCLUSIF TOUT-VILLA NICHÉ DANS LA NATURE SEREINE DE LA CÔTE OUEST DE MAURICE.\r\n
Maradiva Villas Resort & Spa est né de l’île et ne fait qu’un avec sa nature.\r\n
\r\n
Le nôtre est un monde divin et isolé de jardins luxuriants, d’intimité cocooning, d’artisanat culinaire exceptionnel, d’expériences enrichissantes et de soins sincères et personnalisés. \r\n
\r\n
Réparti sur 24 acres de plantations indigènes avec 750 m de plage immaculée, ce refuge intime fraîchement rénové promet un espace somptueux, une intimité la plus profonde et un bien-être merveilleux.
"""
-website: "https://www.maradiva.com/"
-stars: 5
-youtubeVideoId: "P7xdPD8uwh8"
-phone: "+230 403 1500"
-email: "info@maradiva.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3741.6634116787327!2d57.36762121217651!3d-20.314194581083793!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217c41861654b937%3A0x3dd94b7c3ee0002f!2sMaradiva%20Villas%20Resort%20%26%20Spa!5e0!3m2!1sfr!2sfr!4v1718968760100!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Ouest"
-createdAt: DateTimeImmutable @1714145854 {#1019
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733397134 {#1050
date: 2024-12-05 11:12: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: 30
-name: "Exclusive Suite Pool Villa"
-description: """
Ces villas de 220 m² sont de spacieux refuges exclusifs, où règnent élégance et espace. \r\n
La beauté du jardin privatif et les vues imprenables sur l’océan Indien en font un lieu privilégié pour une véritable immersion dans la nature – une escapade tropicale. \r\n
À l’intérieur, une chambre luxueuse et une salle de bains attenante sont associées à de vastes espaces de vie. En extérieur, vous trouverez une terrasse, lieu idéal pour manger en plein air, se prélasser et nager dans la piscine à débordement privée et chauffée de 25 m².
"""
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1683
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 2335
-title: "Exclusive Suite Pool Villa"
-room: App\Entity\Rooms {#1047}
-quantity: 6
-stayStartedAt: DateTimeImmutable @1735862400 {#1647
date: 2025-01-03 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1745971200 {#1656
date: 2025-04-30 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: 1
-doubleOccupancy: "3200.00"
-singleOccupancy: "3200.00"
-tripleOccupancy: "200.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
]
}
-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:17 [
0 => App\Entity\RoomCapacities {#1717
-id: 1941
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 1942
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1618
-id: 1943
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1600
-id: 1944
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1601
-id: 1945
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1723
-id: 1946
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1724
-id: 1947
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1688
-id: 1948
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1728
-id: 1949
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#1799
-id: 1950
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#1658
-id: 1951
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#1679
-id: 1952
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#1625
-id: 1953
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#1430
-id: 1954
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#1588
-id: 1955
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#1707
-id: 1956
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#1709
-id: 1957
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:17 [ …17]
-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 @1729672837 {#1031
date: 2024-10-23 08:40:37.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd21696018184581499.jpeg"
-gallery: App\Entity\Galleries {#1290
-id: 164
-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: "Maradiva Exclusive suite pool villa"
}
-mediaDirSlug: "30"
-lowerRoomPrice: null
-services: null
-slug: "exclusive-suite-pool-villa"
}
]
}
#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: "Route Côtiere Wolmar, Flic En Flac, Île Maurice"
-checkInTime: "14H00"
-checkOutTime: "12H00 à 18H00"
-babyAgeMax: "6"
-childAgeMax: "12"
-teenAgeMax: "17"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:2 [
0 => App\Entity\ExtraCharges {#1654
-id: 14
-title: "Supplément diner du nouvel an"
-description: null
-adultExtra: 450.0
-babyExtra: null
-childExtra: 225.0
-teenExtra: 450.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1648
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1645
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
1 => App\Entity\ExtraCharges {#1661
-id: 198
-title: "Dinner Supplement"
-description: null
-adultExtra: 150.0
-babyExtra: null
-childExtra: 50.0
-teenExtra: 150.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-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: "66965cafd5b75799223960.jpg"
-gallery: App\Entity\Galleries {#1251
-id: 162
-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: "Hotel Maradiva"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1905}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "maradiva-villas-resort-spa"
}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#1820
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1821
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#1822
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1823
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "40% contrat"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: false
-selectedRooms: Doctrine\ORM\PersistentCollection {#1825
#collection: Doctrine\Common\Collections\ArrayCollection {#1826
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1824}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 40
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1827
#collection: Doctrine\Common\Collections\ArrayCollection {#1828
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1824}
-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 {#1829
#collection: Doctrine\Common\Collections\ArrayCollection {#1830
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1824}
-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 {#1831
#collection: Doctrine\Common\Collections\ArrayCollection {#1832
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1824}
-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 {#1833
#collection: Doctrine\Common\Collections\ArrayCollection {#1834
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1824}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1854
-id: 199
-title: "LONG STAY OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1735776000 {#1850
date: 2025-01-02 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1851
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1852
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1853
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "LONG STAY OFFER"
-minNights: 5
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: false
-selectedRooms: Doctrine\ORM\PersistentCollection {#1855
#collection: Doctrine\Common\Collections\ArrayCollection {#1856
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1854}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 50
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1857
#collection: Doctrine\Common\Collections\ArrayCollection {#1858
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1854}
-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 {#1859
#collection: Doctrine\Common\Collections\ArrayCollection {#1860
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1854}
-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 {#1861
#collection: Doctrine\Common\Collections\ArrayCollection {#1862
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1854}
-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 {#1863
#collection: Doctrine\Common\Collections\ArrayCollection {#1864
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1854}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
1 in
PromotionDTO.php
line 556:
if ($offer_min_nights) {
if($stay_nights < $offer_min_nights){
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle(), 'Min nights failure.');
}
return $this;
}
"199 - LONG STAY OFFER"
2 in
PromotionDTO.php
line 556:
if ($offer_min_nights) {
if($stay_nights < $offer_min_nights){
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle(), 'Min nights failure.');
}
return $this;
}
"Min nights 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 {#2096
-debug: true
+id: 52
+title: "MARADIVA STAY OFFER"
+description: null
+type: "Special"
+reference: "40% contrat"
+from: DateTimeImmutable @1704067200 {#1820
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#1821
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: null
+minNights: null
+maxNights: null
+discountRate: 40
+discountFamilyRates: []
+combinableRate: null
+priority: 1
+extrasDiscountRate: null
+isAllRooms: false
+isCombinable: false
+selectedRoomsIDs: array:5 [
0 => 28
1 => 30
2 => 31
3 => 228
4 => 229
]
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
]
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" => 5
"picture_path" => "/uploads/hotels/5/66965cafd5b75799223960.jpg"
"hotel_name" => "Maradiva Villas Resort & Spa"
"room_id" => 30
"room_name" => "Exclusive Suite Pool Villa"
"from" => "22/03/2025"
"to" => "26/03/2025"
"nights" => 4
"neededRooms" => 1
"adults" => 2
"children" => 0
"totalAmount" => 12800.0
"totalAmountDiscounted" => 7680.0
"mandatoryExtraId" => null
"extra" => App\DTO\ExtraStayDTO {#1651
-marginRate: 20
+extraId: 198
+name: "Dinner Supplement"
+description: null
+stayTotalNights: 4
+dailyAdults: 300
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1200
+kidsExtrasAmount: 0
+stayExtrasAmount: 1200
+stayRoomAmount: 7680.0
+totalStayAmountWoDiscount: 14000.0
+totalStayAmount: 8880.0
+finalAmountWoDiscount: 16800.0
+finalAmount: 10656.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
"specialExtra" => []
"discounts" => array:1 [
0 => array:14 [
"id" => 52
"title" => "MARADIVA STAY OFFER"
"description" => null
"reference" => "40% contrat"
"type" => "Special"
"rate" => 40
"extra_rate" => null
"start" => "01/01/2024"
"end" => "31/10/2025"
"kids_rate" => ""
"partial" => false
"selected_rooms" => array:5 [
0 => 28
1 => 30
2 => 31
3 => 228
4 => 229
]
"stayroom_amount_before" => 12800.0
"stayroom_amount_after" => 7680.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 {#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 {#2096
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1644
+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 {#2422
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2423
+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 {#2843
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2844
+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 {#3116
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3115
+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 {#1644}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2423}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2844}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3115}
]
-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: 5
-name: "Maradiva Villas Resort & Spa"
-description: """
UN RESORT VRAIMENT EXCLUSIF TOUT-VILLA NICHÉ DANS LA NATURE SEREINE DE LA CÔTE OUEST DE MAURICE.\r\n
Maradiva Villas Resort & Spa est né de l’île et ne fait qu’un avec sa nature.\r\n
\r\n
Le nôtre est un monde divin et isolé de jardins luxuriants, d’intimité cocooning, d’artisanat culinaire exceptionnel, d’expériences enrichissantes et de soins sincères et personnalisés. \r\n
\r\n
Réparti sur 24 acres de plantations indigènes avec 750 m de plage immaculée, ce refuge intime fraîchement rénové promet un espace somptueux, une intimité la plus profonde et un bien-être merveilleux.
"""
-website: "https://www.maradiva.com/"
-stars: 5
-youtubeVideoId: "P7xdPD8uwh8"
-phone: "+230 403 1500"
-email: "info@maradiva.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3741.6634116787327!2d57.36762121217651!3d-20.314194581083793!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217c41861654b937%3A0x3dd94b7c3ee0002f!2sMaradiva%20Villas%20Resort%20%26%20Spa!5e0!3m2!1sfr!2sfr!4v1718968760100!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Ouest"
-createdAt: DateTimeImmutable @1714145854 {#1019
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733397134 {#1050
date: 2024-12-05 11:12: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: 30
-name: "Exclusive Suite Pool Villa"
-description: """
Ces villas de 220 m² sont de spacieux refuges exclusifs, où règnent élégance et espace. \r\n
La beauté du jardin privatif et les vues imprenables sur l’océan Indien en font un lieu privilégié pour une véritable immersion dans la nature – une escapade tropicale. \r\n
À l’intérieur, une chambre luxueuse et une salle de bains attenante sont associées à de vastes espaces de vie. En extérieur, vous trouverez une terrasse, lieu idéal pour manger en plein air, se prélasser et nager dans la piscine à débordement privée et chauffée de 25 m².
"""
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1683
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 2335
-title: "Exclusive Suite Pool Villa"
-room: App\Entity\Rooms {#1047}
-quantity: 6
-stayStartedAt: DateTimeImmutable @1735862400 {#1647
date: 2025-01-03 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1745971200 {#1656
date: 2025-04-30 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: 1
-doubleOccupancy: "3200.00"
-singleOccupancy: "3200.00"
-tripleOccupancy: "200.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
]
}
-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:17 [
0 => App\Entity\RoomCapacities {#1717
-id: 1941
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 1942
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1618
-id: 1943
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1600
-id: 1944
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1601
-id: 1945
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1723
-id: 1946
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1724
-id: 1947
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1688
-id: 1948
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1728
-id: 1949
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#1799
-id: 1950
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#1658
-id: 1951
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#1679
-id: 1952
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#1625
-id: 1953
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#1430
-id: 1954
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#1588
-id: 1955
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#1707
-id: 1956
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#1709
-id: 1957
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:17 [ …17]
-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 @1729672837 {#1031
date: 2024-10-23 08:40:37.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd21696018184581499.jpeg"
-gallery: App\Entity\Galleries {#1290
-id: 164
-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 {#2595
-id: 371
-title: null
-imageFile: null
-imageName: "66694dc043864544926144.jpeg"
-size: 223724
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718177216 {#2618
date: 2024-06-12 07:26:56.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
1 => App\Entity\Images {#2633
-id: 372
-title: null
-imageFile: null
-imageName: "66694dc04407d019778924.jpeg"
-size: 167552
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718177216 {#2606
date: 2024-06-12 07:26:56.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
2 => App\Entity\Images {#2637
-id: 373
-title: null
-imageFile: null
-imageName: "66694dc04443e968662757.jpeg"
-size: 178067
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718177216 {#2636
date: 2024-06-12 07:26:56.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: "Maradiva Exclusive suite pool villa"
}
-mediaDirSlug: "30"
-lowerRoomPrice: null
-services: null
-slug: "exclusive-suite-pool-villa"
}
]
}
#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: "Route Côtiere Wolmar, Flic En Flac, Île Maurice"
-checkInTime: "14H00"
-checkOutTime: "12H00 à 18H00"
-babyAgeMax: "6"
-childAgeMax: "12"
-teenAgeMax: "17"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:2 [
0 => App\Entity\ExtraCharges {#1654
-id: 14
-title: "Supplément diner du nouvel an"
-description: null
-adultExtra: 450.0
-babyExtra: null
-childExtra: 225.0
-teenExtra: 450.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1648
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1645
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
1 => App\Entity\ExtraCharges {#1661
-id: 198
-title: "Dinner Supplement"
-description: null
-adultExtra: 150.0
-babyExtra: null
-childExtra: 50.0
-teenExtra: 150.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-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: "66965cafd5b75799223960.jpg"
-gallery: App\Entity\Galleries {#1251
-id: 162
-hotel: App\Entity\Hotels {#1027}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1264
#collection: Doctrine\Common\Collections\ArrayCollection {#1263
-elements: array:5 [
0 => App\Entity\Images {#2439
-id: 365
-title: null
-imageFile: null
-imageName: "66694b529ca56949846907.jpeg"
-size: 515517
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718176594 {#2438
date: 2024-06-12 07:16:34.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
1 => App\Entity\Images {#2430
-id: 366
-title: null
-imageFile: null
-imageName: "66694b529d95d694724911.jpeg"
-size: 237794
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718176594 {#2431
date: 2024-06-12 07:16:34.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
2 => App\Entity\Images {#2428
-id: 367
-title: null
-imageFile: null
-imageName: "66694b529dd69102366457.jpeg"
-size: 641965
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718176594 {#2429
date: 2024-06-12 07:16:34.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
3 => App\Entity\Images {#2426
-id: 450
-title: null
-imageFile: null
-imageName: "670fb60ede5c3223403974.jpg"
-size: 593683
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1500
1 => 1000
]
-updatedAt: DateTimeImmutable @1729082894 {#2427
date: 2024-10-16 12:48:14.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
4 => App\Entity\Images {#2424
-id: 451
-title: null
-imageFile: null
-imageName: "670fb60edf0d4660722975.jpg"
-size: 529627
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1680
1 => 1120
]
-updatedAt: DateTimeImmutable @1729082894 {#2425
date: 2024-10-16 12:48:14.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-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: "Hotel Maradiva"
}
-mediaDirSlug: "5"
-offers: Doctrine\Common\Collections\ArrayCollection {#1905
-elements: array:2 [
0 => App\Entity\Offers {#1824
-id: 52
-title: "MARADIVA STAY OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#1820
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1821
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#1822
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1823
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "40% contrat"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: false
-selectedRooms: Doctrine\ORM\PersistentCollection {#1825
#collection: Doctrine\Common\Collections\ArrayCollection {#1826
-elements: array:5 [
0 => App\Entity\Rooms {#2035
-id: 28
-name: "Beachfront Luxury Suite Pool Villa"
-description: """
Avec une vue dégagée sur l’océan scintillant à la couleur bleu turquoise et un accès direct à la plage, ces villas de 163 m² \r\n
sont des refuges idylliques pour vos escapades romantiques. \r\n
Chacune dispose d’une piscine chauffée de 15 m² et d’une terrasse extérieure pour vos repas en plein air. \r\n
L’harmonie règne entre sentiment d’intimité, espace et connexion avec la nature de l’île offrant ainsi un pur moment de tranquillité.
"""
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\ORM\PersistentCollection {#1916
#collection: Doctrine\Common\Collections\ArrayCollection {#1901
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2035}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#897 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1045 …}
}
-stopSales: Doctrine\ORM\PersistentCollection {#2159
#collection: Doctrine\Common\Collections\ArrayCollection {#2194
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2035}
-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 {#2195
#collection: Doctrine\Common\Collections\ArrayCollection {#2196
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2035}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#906 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1069 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1999
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672837 {#2018
date: 2024-10-23 08:40:37.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd1f381d01384759923.jpeg"
-gallery: App\Entity\Galleries {#2197
-id: 163
-hotel: null
-room: App\Entity\Rooms {#2035}
-images: Doctrine\ORM\PersistentCollection {#2198
#collection: Doctrine\Common\Collections\ArrayCollection {#2199
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2197}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "maradiva villa suite front de mer piscine"
}
-mediaDirSlug: null
-lowerRoomPrice: null
-services: null
-slug: "beachfront-luxury-suite-pool-villa"
}
1 => App\Entity\Rooms {#1047}
2 => App\Entity\Rooms {#2202
-id: 31
-name: "Presidential Suite Pool Villa"
-description: """
Découvrez la quintessence du luxe et de l’espace dans nos deux plus grandes villas offrant ainsi une expérience inégalée sur cette île captivante. \r\n
D’une superficie de 345 m² avec une piscine privée et chauffée de 56 m², ces spacieuses villas sont un havre de paix avec accès direct sur la plage. Alors qu’une magnifique villa bénéficie d’une exclusivité totale, l’autre offre la splendeur des panoramas océaniques, et pourtant toutes deux sont gracieusement installées sur les rivages sablonneux. \r\n
Les villas disposent de deux chambres avec salles de bains attenantes, d’un vaste espace de vie équipé d’un home cinéma, d’une kitchenette privée et d’un service de majordome dédié 24h/24.
"""
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\ORM\PersistentCollection {#2203
#collection: Doctrine\Common\Collections\ArrayCollection {#2204
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2202}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#897 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1045 …}
}
-stopSales: Doctrine\ORM\PersistentCollection {#2205
#collection: Doctrine\Common\Collections\ArrayCollection {#2206
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2202}
-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 {#2207
#collection: Doctrine\Common\Collections\ArrayCollection {#2208
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2202}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#906 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1069 …}
}
-createdAt: DateTimeImmutable @1717520580 {#2201
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729680526 {#2200
date: 2024-10-23 10:48:46.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "67189c4e119f0304396048.jpg"
-gallery: App\Entity\Galleries {#2209
-id: 205
-hotel: null
-room: App\Entity\Rooms {#2202}
-images: Doctrine\ORM\PersistentCollection {#2210
#collection: Doctrine\Common\Collections\ArrayCollection {#2211
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2209}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "maradiva presidential"
}
-mediaDirSlug: null
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "presidential-suite-pool-villa"
}
3 => App\Entity\Rooms {#2214
-id: 228
-name: "Family Luxury Suite Pool Villa"
-description: "Dotées de deux chambres pour accueillir les familles, ces villas de 163 m2 avec vue sur un jardin luxuriant et une piscine chauffée de 15 m2 sont de délicieux sanctuaires privés où il fait bon vivre ensemble."
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\ORM\PersistentCollection {#2215
#collection: Doctrine\Common\Collections\ArrayCollection {#2216
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2214}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#897 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1045 …}
}
-stopSales: Doctrine\ORM\PersistentCollection {#2217
#collection: Doctrine\Common\Collections\ArrayCollection {#2218
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2214}
-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 {#2219
#collection: Doctrine\Common\Collections\ArrayCollection {#2220
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2214}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#906 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1069 …}
}
-createdAt: DateTimeImmutable @1725984879 {#2212
date: 2024-09-10 16:14:39.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1731435293 {#2213
date: 2024-11-12 18:14:53.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "673362dd96efe221040397.jpg"
-gallery: App\Entity\Galleries {#2221
-id: 206
-hotel: null
-room: App\Entity\Rooms {#2214}
-images: Doctrine\ORM\PersistentCollection {#2222
#collection: Doctrine\Common\Collections\ArrayCollection {#2223
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2221}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "maradiva luxury suite pool villa"
}
-mediaDirSlug: null
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "family-luxury-suite-pool-villa"
}
4 => App\Entity\Rooms {#2226
-id: 229
-name: "Beachfront Family Suite Pool Villa"
-description: "Avec la deuxième chambre à l'intérieur et la piscine chauffée de 15 m2 à l'extérieur, vous disposez de tout l'espace et de l'intimité dont vous avez besoin pour vous épanouir ensemble."
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\ORM\PersistentCollection {#2227
#collection: Doctrine\Common\Collections\ArrayCollection {#2228
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2226}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#897 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1045 …}
}
-stopSales: Doctrine\ORM\PersistentCollection {#2229
#collection: Doctrine\Common\Collections\ArrayCollection {#2230
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2226}
-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 {#2231
#collection: Doctrine\Common\Collections\ArrayCollection {#2232
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#2226}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#906 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1069 …}
}
-createdAt: DateTimeImmutable @1725984892 {#2224
date: 2024-09-10 16:14:52.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1731435254 {#2225
date: 2024-11-12 18:14:14.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "673362b6c357e769644110.jpeg"
-gallery: App\Entity\Galleries {#2233
-id: 209
-hotel: null
-room: App\Entity\Rooms {#2226}
-images: Doctrine\ORM\PersistentCollection {#2234
#collection: Doctrine\Common\Collections\ArrayCollection {#2235
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#2233}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "maradiva beachfront family suite pool villa"
}
-mediaDirSlug: null
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "beachfront-family-suite-pool-villa"
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Offers {#1824}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 40
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1827
#collection: Doctrine\Common\Collections\ArrayCollection {#1828
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1824}
-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 {#1829
#collection: Doctrine\Common\Collections\ArrayCollection {#1830
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1824}
-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 {#1831
#collection: Doctrine\Common\Collections\ArrayCollection {#1832
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1824}
-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 {#1833
#collection: Doctrine\Common\Collections\ArrayCollection {#1834
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1824}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1854
-id: 199
-title: "LONG STAY OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1735776000 {#1850
date: 2025-01-02 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1851
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1852
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1853
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "LONG STAY OFFER"
-minNights: 5
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: false
-selectedRooms: Doctrine\ORM\PersistentCollection {#1855
#collection: Doctrine\Common\Collections\ArrayCollection {#1856
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1854}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 50
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1857
#collection: Doctrine\Common\Collections\ArrayCollection {#1858
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1854}
-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 {#1859
#collection: Doctrine\Common\Collections\ArrayCollection {#1860
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1854}
-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 {#1861
#collection: Doctrine\Common\Collections\ArrayCollection {#1862
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1854}
-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 {#1863
#collection: Doctrine\Common\Collections\ArrayCollection {#1864
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1854}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "maradiva-villas-resort-spa"
}
+stars: null
+dateRange: "22/03/2025 - 26/03/2025"
+fromAt: DateTimeImmutable @1742601600 {#3299
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#3298
date: 2025-03-26 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => "6"
"child" => "12"
"teen" => "17"
]
+nights: 4
+chambers: []
+stay_rooms: array:1 [
0 => App\DTO\RoomStayDTO {#1599
-marginRate: 20
-id: 30
-name: "Exclusive Suite Pool Villa"
-slug: "exclusive-suite-pool-villa"
-picture: "/uploads/rooms/30/666bd21696018184581499.jpeg"
-description: """
Ces villas de 220 m² sont de spacieux refuges exclusifs, où règnent élégance et espace. \r\n
La beauté du jardin privatif et les vues imprenables sur l’océan Indien en font un lieu privilégié pour une véritable immersion dans la nature – une escapade tropicale. \r\n
À l’intérieur, une chambre luxueuse et une salle de bains attenante sont associées à de vastes espaces de vie. En extérieur, vous trouverez une terrasse, lieu idéal pour manger en plein air, se prélasser et nager dans la piscine à débordement privée et chauffée de 25 m².
"""
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: "DEMI PENSION"
-mandatoryExtraId: null
-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" => 3200
"kids_price" => 0
"adults_discount_price" => 1920.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
52 => array:2 [
"name" => "MARADIVA STAY OFFER"
"rate" => 40
]
]
]
"2025-03-23" => array:5 [
"adults_price" => 3200
"kids_price" => 0
"adults_discount_price" => 1920.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
52 => array:2 [
"name" => "MARADIVA STAY OFFER"
"rate" => 40
]
]
]
"2025-03-24" => array:5 [
"adults_price" => 3200
"kids_price" => 0
"adults_discount_price" => 1920.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
52 => array:2 [
"name" => "MARADIVA STAY OFFER"
"rate" => 40
]
]
]
"2025-03-25" => array:5 [
"adults_price" => 3200
"kids_price" => 0
"adults_discount_price" => 1920.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
52 => array:2 [
"name" => "MARADIVA STAY OFFER"
"rate" => 40
]
]
]
]
"amount" => 12800
"amount_discount" => 7680.0
]
]
-totalRoomAmount: 12800.0
-totalRoomAmountDiscounted: 7680.0
-marginTotalRoom: 15360.0
-marginTotalRoomDiscounted: 9216.0
-communExtras: array:1 [
0 => App\DTO\ExtraStayDTO {#1651
-marginRate: 20
+extraId: 198
+name: "Dinner Supplement"
+description: null
+stayTotalNights: 4
+dailyAdults: 300
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1200
+kidsExtrasAmount: 0
+stayExtrasAmount: 1200
+stayRoomAmount: 7680.0
+totalStayAmountWoDiscount: 14000.0
+totalStayAmount: 8880.0
+finalAmountWoDiscount: 16800.0
+finalAmount: 10656.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: array:1 [
0 => array:14 [
"id" => 52
"title" => "MARADIVA STAY OFFER"
"description" => null
"reference" => "40% contrat"
"type" => "Special"
"rate" => 40
"extra_rate" => null
"start" => "01/01/2024"
"end" => "31/10/2025"
"kids_rate" => ""
"partial" => false
"selected_rooms" => array:5 [
0 => 28
1 => 30
2 => 31
3 => 228
4 => 229
]
"stayroom_amount_before" => 12800.0
"stayroom_amount_after" => 7680.0
]
]
-error: []
}
]
}