Dumped Contents
1 in
SearchToolsDTO.php
line 590:
$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 : #26 - Luxury Suite Pool Villa has the capacity config check: "
2 in
SearchToolsDTO.php
line 590:
$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
SearchToolsDTO.php
line 591:
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 {#1411
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
1 in
SearchToolsDTO.php
line 945:
}
if ($this->debug) {
dump('getDatesAndDailyPrices() -> Results before parsing', $roomPricesDatesAndPrice);
}
"getDatesAndDailyPrices() -> Results before parsing"
2 in
SearchToolsDTO.php
line 945:
}
if ($this->debug) {
dump('getDatesAndDailyPrices() -> Results before parsing', $roomPricesDatesAndPrice);
}
array:2 [
0 => App\DTO\RoomDatesAndPricesDTO {#1696
+rpId: 2306
+adultsPrice: 1550
+childrenPrice: 0
+startAt: DateTimeImmutable @1734912000 {#1464
date: 2024-12-23 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1735171200 {#1654
date: 2024-12-26 00:00:00.0 UTC (+00:00)
}
}
1 => App\DTO\RoomDatesAndPricesDTO {#1694
+rpId: 2311
+adultsPrice: 2075
+childrenPrice: 0
+startAt: DateTimeImmutable @1735257600 {#1715
date: 2024-12-27 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1735343940 {#1450
date: 2024-12-27 23:59:00.0 UTC (+00:00)
}
}
]
1 in
SearchToolsDTO.php
line 954:
$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
SearchToolsDTO.php
line 954:
$prices_wo_extras = $this->parseDailyPrices($roomPricesDatesAndPrice);
if ($this->debug) {
dump('parseDailyPrices() -> Parsed daily prices', $prices_wo_extras);
}
if (!$prices_wo_extras) {
array:4 [
"2024-12-23" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
"2024-12-24" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
"2024-12-25" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
"2024-12-26" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
]
1 in
SearchToolsDTO.php
line 617:
$searchResults = [];
if ($this->debug) {
dump('Update Stay Rooms - Chambers Prices', $chambersRoomsPrices);
}
"Update Stay Rooms - Chambers Prices"
2 in
SearchToolsDTO.php
line 617:
$searchResults = [];
if ($this->debug) {
dump('Update Stay Rooms - Chambers Prices', $chambersRoomsPrices);
}
array:1 [
0 => array:1 [
0 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1411
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
"room_id" => 26
"room_picture" => "/uploads/rooms/26/666bd173a341b028051667.jpeg"
"room_name" => "Luxury Suite Pool Villa"
"room_slug" => "luxury-suite-pool-villa"
"room_description" => """
Mélangeant esthétisme traditionnel et contemporain, ces élégantes villas de 163 m² disposent d’une piscine chauffée de 15 m² et donnent sur nos jardins luxuriants. \r\n
Conçues pour la vie intérieure comme en extérieure, elles sont spacieuses, aérées et raffinées mais non ostentatoires. Il s’en dégage une aura authentique qui présage un séjour paisible et ressourçant.
"""
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 2311
"adult_amount" => 6200
"children_amount" => 0
"basis_amount" => 6200
"mandatoryExtraId" => null
"default_extra_label" => "DEMI PENSION"
"dates_prices" => array:4 [
"2024-12-23" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
"2024-12-24" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
"2024-12-25" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
"2024-12-26" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
]
]
]
]
]
1 in
SearchToolsDTO.php
line 743:
}
if ($this->debug) {
dump('Update Stay Rooms results', $searchResults);
}
// Set the results and sort by total amount ASC
"Update Stay Rooms results"
2 in
SearchToolsDTO.php
line 743:
}
if ($this->debug) {
dump('Update Stay Rooms results', $searchResults);
}
// Set the results and sort by total amount ASC
array:1 [
0 => App\DTO\RoomStayDTO {#1580
-id: 26
-name: "Luxury Suite Pool Villa"
-slug: "luxury-suite-pool-villa"
-picture: "/uploads/rooms/26/666bd173a341b028051667.jpeg"
-description: """
Mélangeant esthétisme traditionnel et contemporain, ces élégantes villas de 163 m² disposent d’une piscine chauffée de 15 m² et donnent sur nos jardins luxuriants. \r\n
Conçues pour la vie intérieure comme en extérieure, elles sont spacieuses, aérées et raffinées mais non ostentatoires. Il s’en dégage une aura authentique qui présage un séjour paisible et ressourçant.
"""
-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 [
"2024-12-23" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
"2024-12-24" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
"2024-12-25" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
"2024-12-26" => array:2 [
"adults_price" => 1550
"kids_price" => 0
]
]
"amount" => 6200
]
]
-totalStayAmount: 6200.0
-totalRoomAmountDiscounted: null
-communExtras: array:1 [
0 => App\DTO\ExtraStayDTO {#1574
+extraId: 198
+name: "Dinner Supplement"
+description: null
+stayTotalNights: 4
+dailyAdults: 300
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1200
+kidsExtrasAmount: 0
+stayExtrasAmount: 1200
+stayRoomAmount: 6200.0
+totalStayAmountWoDiscount: 7400.0
+totalStayAmount: 7400.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
]
1 in
SearchToolsDTO.php
line 1398:
{
$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
SearchToolsDTO.php
line 1398:
{
$offers_eligibled = [];
if ($this->debug) {
dump('All available offers of the hotel', $offers);
}
foreach ($offers as $key => $offer) {
Doctrine\Common\Collections\ArrayCollection {#1856
-elements: array:2 [
0 => App\Entity\Offers {#1820
-id: 52
-title: "MARADIVA STAY OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1025
-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 {#1017
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672825 {#1048
date: 2024-10-23 08:40:25.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1022
#collection: Doctrine\Common\Collections\ArrayCollection {#1021
-elements: array:1 [
0 => App\Entity\Rooms {#1045
-id: 26
-name: "Luxury Suite Pool Villa"
-description: """
Mélangeant esthétisme traditionnel et contemporain, ces élégantes villas de 163 m² disposent d’une piscine chauffée de 15 m² et donnent sur nos jardins luxuriants. \r\n
Conçues pour la vie intérieure comme en extérieure, elles sont spacieuses, aérées et raffinées mais non ostentatoires. Il s’en dégage une aura authentique qui présage un séjour paisible et ressourçant.
"""
-active: true
-hotel: App\Entity\Hotels {#1025}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1675
-elements: array:2 [
0 => App\Entity\RoomPrices {#1717
-id: 2306
-title: "Luxury Suite Pool Villa"
-room: App\Entity\Rooms {#1045}
-quantity: 31
-stayStartedAt: DateTimeImmutable @1734652800 {#1645
date: 2024-12-20 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735171200 {#1654
date: 2024-12-26 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1720
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1761868800 {#1719
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "1550.00"
-singleOccupancy: "1550.00"
-tripleOccupancy: "200.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
1 => App\Entity\RoomPrices {#1711
-id: 2311
-title: "Luxury Suite Pool Villa"
-room: App\Entity\Rooms {#1045}
-quantity: 31
-stayStartedAt: DateTimeImmutable @1735257600 {#1715
date: 2024-12-27 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735776000 {#1714
date: 2025-01-02 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1713
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1761868800 {#1712
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "2075.00"
-singleOccupancy: "2075.00"
-tripleOccupancy: "300.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1081
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1045}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#902 …}
-backRefFieldName: "room"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1142 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1038
#collection: Doctrine\Common\Collections\ArrayCollection {#1040
-elements: array:12 [
0 => App\Entity\RoomCapacities {#1626
-id: 1870
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1651
-id: 1871
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1726
-id: 1872
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1428
-id: 1873
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1598
-id: 1874
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1686
-id: 1875
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1721
-id: 1876
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1599
-id: 1877
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1677
-id: 1878
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#1722
-id: 1879
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#1797
-id: 1880
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#1623
-id: 1881
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:12 [ …12]
-owner: App\Entity\Rooms {#1045}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#904 …}
-backRefFieldName: "room"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1067 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1010
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672837 {#1029
date: 2024-10-23 08:40:37.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd173a341b028051667.jpeg"
-gallery: App\Entity\Galleries {#1288
-id: 161
-hotel: null
-room: App\Entity\Rooms {#1045}
-images: Doctrine\ORM\PersistentCollection {#1353
#collection: Doctrine\Common\Collections\ArrayCollection {#1354
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1288}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1065 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1257 …}
}
-title: "Maradiva luxury suite pool villa"
}
-mediaDirSlug: "26"
-lowerRoomPrice: null
-services: null
-slug: "luxury-suite-pool-villa"
}
]
}
#initialized: true
-snapshot: array:1 [ …1]
-owner: App\Entity\Hotels {#1025}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1114 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-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 {#1182
#collection: Doctrine\Common\Collections\ArrayCollection {#1176
-elements: array:2 [
0 => App\Entity\ExtraCharges {#1622
-id: 14
-title: "Supplément diner du nouvel an"
-description: null
-adultExtra: 450.0
-babyExtra: null
-childExtra: 225.0
-teenExtra: null
-stayStartedAt: DateTimeImmutable @1735603200 {#1650
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1635
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
1 => App\Entity\ExtraCharges {#1793
-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 {#1025}
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-owner: App\Entity\Hotels {#1025}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1115 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-imageFile: null
-featuredImage: "66965cafd5b75799223960.jpg"
-gallery: App\Entity\Galleries {#1249
-id: 162
-hotel: App\Entity\Hotels {#1025}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1262
#collection: Doctrine\Common\Collections\ArrayCollection {#1261
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1249}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1065 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1257 …}
}
-title: "Hotel Maradiva"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1856}
-highlighted: null
-services: null
-hlStartAt: null
-hlEndAt: null
-slug: "maradiva-villas-resort-spa"
}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#1816
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1817
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#1818
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1819
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "40% contrat"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1821
#collection: Doctrine\Common\Collections\ArrayCollection {#1822
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1820}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1327 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-discount: 40
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1823
#collection: Doctrine\Common\Collections\ArrayCollection {#1824
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1820}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1333 …}
-backRefFieldName: "offers"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1248 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1825
#collection: Doctrine\Common\Collections\ArrayCollection {#1826
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1820}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1337 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1248 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1827
#collection: Doctrine\Common\Collections\ArrayCollection {#1828
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1820}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1339 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1829
#collection: Doctrine\Common\Collections\ArrayCollection {#1830
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1820}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1345 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1734
-id: 18
-title: "MARADIVA"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1025}
-description: "https://pro.airvoyages.fr/wp-content/uploads/mru/promo/MARADIVA%20PROMO%20BOOK%20AVANT%2031AOUT.pdf"
-stayStartAt: DateTimeImmutable @1719792000 {#1742
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1756598400 {#1723
date: 2025-08-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1719792000 {#1743
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1756598400 {#1737
date: 2025-08-31 00:00:00.0 UTC (+00:00)
}
-reference: null
-minNights: 5
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: false
-selectedRooms: Doctrine\ORM\PersistentCollection {#1732
#collection: Doctrine\Common\Collections\ArrayCollection {#1731
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1734}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1327 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-discount: 50
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1730
#collection: Doctrine\Common\Collections\ArrayCollection {#1729
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1734}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1333 …}
-backRefFieldName: "offers"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1248 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1810
#collection: Doctrine\Common\Collections\ArrayCollection {#1811
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1734}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1337 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1248 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1812
#collection: Doctrine\Common\Collections\ArrayCollection {#1813
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1734}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1339 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1814
#collection: Doctrine\Common\Collections\ArrayCollection {#1815
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1734}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1345 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-extrasDiscount: null
-priority: 2
-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;
}
"18 - MARADIVA"
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
SearchToolsDTO.php
line 773:
$validOffers = $this->getValidOffers($hotel->getOffers());
if ($this->debug) {
dump('Step 1. Offres valides : ', $validOffers);
}
if ($validOffers == null) {
"Step 1. Offres valides : "
2 in
SearchToolsDTO.php
line 773:
$validOffers = $this->getValidOffers($hotel->getOffers());
if ($this->debug) {
dump('Step 1. Offres valides : ', $validOffers);
}
if ($validOffers == null) {
array:1 [
0 => App\DTO\PromotionDTO {#2047
-debug: true
+id: 52
+title: "MARADIVA STAY OFFER"
+description: null
+type: "Special"
+reference: "40% contrat"
+from: DateTimeImmutable @1704067200 {#1816
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#1817
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: true
+isCombinable: false
+selectedRoomsIDs: []
+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" => 26
"room_name" => "Luxury Suite Pool Villa"
"from" => "23/12/2024"
"to" => "27/12/2024"
"nights" => 4
"neededRooms" => 1
"adults" => 2
"children" => 0
"totalAmount" => 6200.0
"totalAmountDiscounted" => 3720.0
"mandatoryExtraId" => null
"extra" => App\DTO\ExtraStayDTO {#1574
+extraId: 198
+name: "Dinner Supplement"
+description: null
+stayTotalNights: 4
+dailyAdults: 300
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1200
+kidsExtrasAmount: 0
+stayExtrasAmount: 1200
+stayRoomAmount: 3720.0
+totalStayAmountWoDiscount: 7400.0
+totalStayAmount: 4920.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" => []
"stayroom_amount_before" => 6200.0
"stayroom_amount_after" => 3720.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 {#800
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#801
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#802
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#803
-metadata: Vich\UploaderBundle\Metadata\MetadataReader {#456
-reader: Metadata\MetadataFactory {#448
-driver: Metadata\Driver\DriverChain {#449
-drivers: array:4 [
0 => Vich\UploaderBundle\Metadata\Driver\XmlDriver {#450
-locator: Metadata\Driver\FileLocator {#447
-dirs: []
}
}
1 => Vich\UploaderBundle\Metadata\Driver\AnnotationDriver {#451
#reader: Vich\UploaderBundle\Metadata\Driver\AttributeReader {#452}
-managerRegistryList: array:1 [
0 => Doctrine\Bundle\DoctrineBundle\Registry {#74
-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: Container3wbxnxo\App_KernelDevDebugContainer {#42 …20}
}
]
}
2 => Vich\UploaderBundle\Metadata\Driver\YamlDriver {#453
-locator: Metadata\Driver\FileLocator {#447}
}
3 => Vich\UploaderBundle\Metadata\Driver\YmlDriver {#454
-locator: Metadata\Driver\FileLocator {#447}
}
]
}
-cache: Metadata\Cache\FileCache {#455
-dir: "/var/www/vhost/allons-maurice/app/var/cache/dev/vich_uploader"
}
-loadedMetadata: array:5 [
"App\Entity\Rooms" => Metadata\ClassHierarchyMetadata {#1576
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1596
+name: "App\Entity\Rooms"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Rooms.php"
]
+createdAt: 1731925851
+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 {#2043
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#2047
+name: "App\Entity\Hotels"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Hotels.php"
]
+createdAt: 1731925851
+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 {#2325
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2326
+name: "App\Entity\Images"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Images.php"
]
+createdAt: 1731925851
+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 {#2752
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2753
+name: "App\Entity\Slides"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Slides.php"
]
+createdAt: 1731925851
+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 {#3024
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3023
+name: "App\Entity\Posts"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Posts.php"
]
+createdAt: 1731925851
+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 {#1596}
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#2047}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2326}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2753}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3023}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#804
-container: Container3wbxnxo\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"
}
}
}
}
-debug: true
+hotel: App\Entity\Hotels {#1025
-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 {#1017
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672825 {#1048
date: 2024-10-23 08:40:25.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1022
#collection: Doctrine\Common\Collections\ArrayCollection {#1021
-elements: array:1 [
0 => App\Entity\Rooms {#1045
-id: 26
-name: "Luxury Suite Pool Villa"
-description: """
Mélangeant esthétisme traditionnel et contemporain, ces élégantes villas de 163 m² disposent d’une piscine chauffée de 15 m² et donnent sur nos jardins luxuriants. \r\n
Conçues pour la vie intérieure comme en extérieure, elles sont spacieuses, aérées et raffinées mais non ostentatoires. Il s’en dégage une aura authentique qui présage un séjour paisible et ressourçant.
"""
-active: true
-hotel: App\Entity\Hotels {#1025}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1675
-elements: array:2 [
0 => App\Entity\RoomPrices {#1717
-id: 2306
-title: "Luxury Suite Pool Villa"
-room: App\Entity\Rooms {#1045}
-quantity: 31
-stayStartedAt: DateTimeImmutable @1734652800 {#1645
date: 2024-12-20 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735171200 {#1654
date: 2024-12-26 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1720
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1761868800 {#1719
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "1550.00"
-singleOccupancy: "1550.00"
-tripleOccupancy: "200.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
1 => App\Entity\RoomPrices {#1711
-id: 2311
-title: "Luxury Suite Pool Villa"
-room: App\Entity\Rooms {#1045}
-quantity: 31
-stayStartedAt: DateTimeImmutable @1735257600 {#1715
date: 2024-12-27 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735776000 {#1714
date: 2025-01-02 00:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1713
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1761868800 {#1712
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "2075.00"
-singleOccupancy: "2075.00"
-tripleOccupancy: "300.00"
-active: true
-extraBaby: null
-extraChild: 0.0
-extraTeen: null
-defaultExtraLabel: "DEMI PENSION"
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1081
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1045}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#902 …}
-backRefFieldName: "room"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1142 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1038
#collection: Doctrine\Common\Collections\ArrayCollection {#1040
-elements: array:12 [
0 => App\Entity\RoomCapacities {#1626
-id: 1870
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1651
-id: 1871
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1726
-id: 1872
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1428
-id: 1873
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1598
-id: 1874
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1686
-id: 1875
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1721
-id: 1876
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1599
-id: 1877
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1677
-id: 1878
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#1722
-id: 1879
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#1797
-id: 1880
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#1623
-id: 1881
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:12 [ …12]
-owner: App\Entity\Rooms {#1045}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#904 …}
-backRefFieldName: "room"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1067 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1010
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672837 {#1029
date: 2024-10-23 08:40:37.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd173a341b028051667.jpeg"
-gallery: App\Entity\Galleries {#1288
-id: 161
-hotel: null
-room: App\Entity\Rooms {#1045}
-images: Doctrine\ORM\PersistentCollection {#1353
#collection: Doctrine\Common\Collections\ArrayCollection {#1354
-elements: array:4 [
0 => App\Entity\Images {#2500
-id: 361
-title: null
-imageFile: null
-imageName: "66694ac786485869320007.jpeg"
-size: 453700
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718176455 {#2523
date: 2024-06-12 07:14:15.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
1 => App\Entity\Images {#2538
-id: 362
-title: null
-imageFile: null
-imageName: "66694ac78712e840166161.jpeg"
-size: 219630
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718176455 {#2511
date: 2024-06-12 07:14:15.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
2 => App\Entity\Images {#2542
-id: 363
-title: null
-imageFile: null
-imageName: "66694ac787785484583245.jpeg"
-size: 228636
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718176455 {#2541
date: 2024-06-12 07:14:15.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
3 => App\Entity\Images {#2545
-id: 364
-title: null
-imageFile: null
-imageName: "66694ac787d9c369077308.jpeg"
-size: 410482
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718176455 {#2544
date: 2024-06-12 07:14:15.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-owner: App\Entity\Galleries {#1288}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1065 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1257 …}
}
-title: "Maradiva luxury suite pool villa"
}
-mediaDirSlug: "26"
-lowerRoomPrice: null
-services: null
-slug: "luxury-suite-pool-villa"
}
]
}
#initialized: true
-snapshot: array:1 [ …1]
-owner: App\Entity\Hotels {#1025}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1114 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-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 {#1182
#collection: Doctrine\Common\Collections\ArrayCollection {#1176
-elements: array:2 [
0 => App\Entity\ExtraCharges {#1622
-id: 14
-title: "Supplément diner du nouvel an"
-description: null
-adultExtra: 450.0
-babyExtra: null
-childExtra: 225.0
-teenExtra: null
-stayStartedAt: DateTimeImmutable @1735603200 {#1650
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1635
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
1 => App\Entity\ExtraCharges {#1793
-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 {#1025}
}
]
}
#initialized: true
-snapshot: array:2 [ …2]
-owner: App\Entity\Hotels {#1025}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1115 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-imageFile: null
-featuredImage: "66965cafd5b75799223960.jpg"
-gallery: App\Entity\Galleries {#1249
-id: 162
-hotel: App\Entity\Hotels {#1025}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1262
#collection: Doctrine\Common\Collections\ArrayCollection {#1261
-elements: array:5 [
0 => App\Entity\Images {#2342
-id: 365
-title: null
-imageFile: null
-imageName: "66694b529ca56949846907.jpeg"
-size: 515517
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718176594 {#2341
date: 2024-06-12 07:16:34.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
1 => App\Entity\Images {#2333
-id: 366
-title: null
-imageFile: null
-imageName: "66694b529d95d694724911.jpeg"
-size: 237794
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718176594 {#2334
date: 2024-06-12 07:16:34.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
2 => App\Entity\Images {#2331
-id: 367
-title: null
-imageFile: null
-imageName: "66694b529dd69102366457.jpeg"
-size: 641965
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718176594 {#2332
date: 2024-06-12 07:16:34.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
3 => App\Entity\Images {#2329
-id: 450
-title: null
-imageFile: null
-imageName: "670fb60ede5c3223403974.jpg"
-size: 593683
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1500
1 => 1000
]
-updatedAt: DateTimeImmutable @1729082894 {#2330
date: 2024-10-16 12:48:14.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
4 => App\Entity\Images {#2327
-id: 451
-title: null
-imageFile: null
-imageName: "670fb60edf0d4660722975.jpg"
-size: 529627
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1680
1 => 1120
]
-updatedAt: DateTimeImmutable @1729082894 {#2328
date: 2024-10-16 12:48:14.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Galleries {#1249}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1065 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1257 …}
}
-title: "Hotel Maradiva"
}
-mediaDirSlug: "5"
-offers: Doctrine\Common\Collections\ArrayCollection {#1856
-elements: array:2 [
0 => App\Entity\Offers {#1820
-id: 52
-title: "MARADIVA STAY OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1025}
-description: null
-stayStartAt: DateTimeImmutable @1704067200 {#1816
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1817
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1704067200 {#1818
date: 2024-01-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1819
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "40% contrat"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1821
#collection: Doctrine\Common\Collections\ArrayCollection {#1822
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1820}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1327 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-discount: 40
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1823
#collection: Doctrine\Common\Collections\ArrayCollection {#1824
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1820}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1333 …}
-backRefFieldName: "offers"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1248 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1825
#collection: Doctrine\Common\Collections\ArrayCollection {#1826
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1820}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1337 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1248 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1827
#collection: Doctrine\Common\Collections\ArrayCollection {#1828
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1820}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1339 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1829
#collection: Doctrine\Common\Collections\ArrayCollection {#1830
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1820}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1345 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1734
-id: 18
-title: "MARADIVA"
-type: "LongStay"
-hotel: App\Entity\Hotels {#1025}
-description: "https://pro.airvoyages.fr/wp-content/uploads/mru/promo/MARADIVA%20PROMO%20BOOK%20AVANT%2031AOUT.pdf"
-stayStartAt: DateTimeImmutable @1719792000 {#1742
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1756598400 {#1723
date: 2025-08-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1719792000 {#1743
date: 2024-07-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1756598400 {#1737
date: 2025-08-31 00:00:00.0 UTC (+00:00)
}
-reference: null
-minNights: 5
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: false
-selectedRooms: Doctrine\ORM\PersistentCollection {#1732
#collection: Doctrine\Common\Collections\ArrayCollection {#1731
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1734}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1327 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-discount: 50
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1730
#collection: Doctrine\Common\Collections\ArrayCollection {#1729
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1734}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1333 …}
-backRefFieldName: "offers"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1248 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1810
#collection: Doctrine\Common\Collections\ArrayCollection {#1811
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1734}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1337 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1248 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1812
#collection: Doctrine\Common\Collections\ArrayCollection {#1813
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1734}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1339 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1814
#collection: Doctrine\Common\Collections\ArrayCollection {#1815
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1734}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1345 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
-highlighted: null
-services: null
-hlStartAt: null
-hlEndAt: null
-slug: "maradiva-villas-resort-spa"
}
+stars: null
+dateRange: "23/12/2024 - 27/12/2024"
+fromAt: DateTimeImmutable @1734912000 {#3207
date: 2024-12-23 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1735343940 {#3206
date: 2024-12-27 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 {#1580
-id: 26
-name: "Luxury Suite Pool Villa"
-slug: "luxury-suite-pool-villa"
-picture: "/uploads/rooms/26/666bd173a341b028051667.jpeg"
-description: """
Mélangeant esthétisme traditionnel et contemporain, ces élégantes villas de 163 m² disposent d’une piscine chauffée de 15 m² et donnent sur nos jardins luxuriants. \r\n
Conçues pour la vie intérieure comme en extérieure, elles sont spacieuses, aérées et raffinées mais non ostentatoires. Il s’en dégage une aura authentique qui présage un séjour paisible et ressourçant.
"""
-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 [
"2024-12-23" => array:5 [
"adults_price" => 1550
"kids_price" => 0
"adults_discount_price" => 930.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
52 => array:2 [
"name" => "MARADIVA STAY OFFER"
"rate" => 40
]
]
]
"2024-12-24" => array:5 [
"adults_price" => 1550
"kids_price" => 0
"adults_discount_price" => 930.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
52 => array:2 [
"name" => "MARADIVA STAY OFFER"
"rate" => 40
]
]
]
"2024-12-25" => array:5 [
"adults_price" => 1550
"kids_price" => 0
"adults_discount_price" => 930.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
52 => array:2 [
"name" => "MARADIVA STAY OFFER"
"rate" => 40
]
]
]
"2024-12-26" => array:5 [
"adults_price" => 1550
"kids_price" => 0
"adults_discount_price" => 930.0
"kids_discount_price" => 0.0
"discounts" => array:1 [
52 => array:2 [
"name" => "MARADIVA STAY OFFER"
"rate" => 40
]
]
]
]
"amount" => 6200
"amount_discount" => 3720.0
]
]
-totalStayAmount: 6200.0
-totalRoomAmountDiscounted: 3720.0
-communExtras: array:1 [
0 => App\DTO\ExtraStayDTO {#1574
+extraId: 198
+name: "Dinner Supplement"
+description: null
+stayTotalNights: 4
+dailyAdults: 300
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 1200
+kidsExtrasAmount: 0
+stayExtrasAmount: 1200
+stayRoomAmount: 3720.0
+totalStayAmountWoDiscount: 7400.0
+totalStayAmount: 4920.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" => []
"stayroom_amount_before" => 6200.0
"stayroom_amount_after" => 3720.0
]
]
-error: []
}
]
}