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 : LUX Grand Baie - Chambre : #132 - Villa avec piscine 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:1 [
0 => App\DTO\RoomDatesAndPricesDTO {#1656
+rpId: 2100
+adultsPrice: 5775
+childrenPrice: 0
+startAt: DateTimeImmutable @1734955200 {#1645
date: 2024-12-23 12: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" => 5775
"kids_price" => 0
]
"2024-12-24" => array:2 [
"adults_price" => 5775
"kids_price" => 0
]
"2024-12-25" => array:2 [
"adults_price" => 5775
"kids_price" => 0
]
"2024-12-26" => array:2 [
"adults_price" => 5775
"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" => 132
"room_picture" => "/uploads/rooms/132/671633213c0a3558564566.jpg"
"room_name" => "Villa avec piscine"
"room_slug" => "villa-avec-piscine-2"
"room_description" => "Nichées dans un jardin tropical, à seulement quelques mètres de la plage, ces villas de 240 m2 allient un design sophistiqué et le confort. Au rez-de-chaussée, il y a une suite principale avec vue sur la mer qui s'ouvre sur la piscine, un salon et une salle à manger lumineux, ainsi qu'un espace extérieur avec un gazebo et un barbecue. Au premier étage, il y a une deuxième chambre également avec vue sur la mer."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 2100
"adult_amount" => 23100
"children_amount" => 0
"basis_amount" => 23100
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2024-12-23" => array:2 [
"adults_price" => 5775
"kids_price" => 0
]
"2024-12-24" => array:2 [
"adults_price" => 5775
"kids_price" => 0
]
"2024-12-25" => array:2 [
"adults_price" => 5775
"kids_price" => 0
]
"2024-12-26" => array:2 [
"adults_price" => 5775
"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: 132
-name: "Villa avec piscine"
-slug: "villa-avec-piscine-2"
-picture: "/uploads/rooms/132/671633213c0a3558564566.jpg"
-description: "Nichées dans un jardin tropical, à seulement quelques mètres de la plage, ces villas de 240 m2 allient un design sophistiqué et le confort. Au rez-de-chaussée, il y a une suite principale avec vue sur la mer qui s'ouvre sur la piscine, un salon et une salle à manger lumineux, ainsi qu'un espace extérieur avec un gazebo et un barbecue. Au premier étage, il y a une deuxième chambre également avec vue sur la mer."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 174
-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" => 5775
"kids_price" => 0
]
"2024-12-24" => array:2 [
"adults_price" => 5775
"kids_price" => 0
]
"2024-12-25" => array:2 [
"adults_price" => 5775
"kids_price" => 0
]
"2024-12-26" => array:2 [
"adults_price" => 5775
"kids_price" => 0
]
]
"amount" => 23100
]
]
-totalStayAmount: 23100.0
-totalRoomAmountDiscounted: null
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1631
+extraId: 174
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 23100.0
+totalStayAmountWoDiscount: 23100.0
+totalStayAmount: 23100.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1620
+extraId: 114
+name: "Suppléments repas Lux Demi-pension par nuit"
+description: null
+stayTotalNights: 4
+dailyAdults: 160
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 640
+kidsExtrasAmount: 0
+stayExtrasAmount: 640
+stayRoomAmount: 23100.0
+totalStayAmountWoDiscount: 23740.0
+totalStayAmount: 23740.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1643
+extraId: 115
+name: "Suppléments repas Lux Pension complète par nuit"
+description: null
+stayTotalNights: 4
+dailyAdults: 240
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 960
+kidsExtrasAmount: 0
+stayExtrasAmount: 960
+stayRoomAmount: 23100.0
+totalStayAmountWoDiscount: 24060.0
+totalStayAmount: 24060.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1642
+extraId: 116
+name: "Suppléments repas Lux Formule "Tout inclus" par nuit"
+description: null
+stayTotalNights: 4
+dailyAdults: 500
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 2000
+kidsExtrasAmount: 0
+stayExtrasAmount: 2000
+stayRoomAmount: 23100.0
+totalStayAmountWoDiscount: 25100.0
+totalStayAmount: 25100.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 {#2027
-elements: array:2 [
0 => App\Entity\Offers {#1871
-id: 115
-title: "FESTIVE OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1025
-id: 21
-name: "LUX Grand Baie"
-description: "Un joyau de modernité délicatement posé sur la côte nord de l'île Maurice, qui fait tourner les têtes et chavirer les cœurs. LUX* Grand Baie redéfinit les codes du luxe et invite à apprécier le rythme paisible de la vie sur les îles. Paisible, mais pas monotone. Cet élégant boutique-hôtel, à l'image de la ville balnéaire à laquelle il doit son nom, est captivant et exaltant. Son incomparable scène culinaire, son époustouflant rooftop, son spa dernier cri sont autant d’invitations à profiter pleinement de chaque instant."
-website: "https://www.luxresorts.com/fr/maurice/hotel/luxgrandbaie"
-stars: 5
-youtubeVideoId: "p3Bcdro8Csw"
-phone: "+230 209 2200"
-email: "luxgrandbaie@luxresorts.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3749.1847857001076!2d57.58043401217097!3d-20.00075778132614!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217dab1da78e0199%3A0x8fe7bfe84f5e6684!2sLUX*2A%20Grand%20Baie!5e0!3m2!1sfr!2sfr!4v1718969493716!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Nord"
-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: 132
-name: "Villa avec piscine"
-description: "Nichées dans un jardin tropical, à seulement quelques mètres de la plage, ces villas de 240 m2 allient un design sophistiqué et le confort. Au rez-de-chaussée, il y a une suite principale avec vue sur la mer qui s'ouvre sur la piscine, un salon et une salle à manger lumineux, ainsi qu'un espace extérieur avec un gazebo et un barbecue. Au premier étage, il y a une deuxième chambre également avec vue sur la mer."
-active: true
-hotel: App\Entity\Hotels {#1025}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1690
-elements: array:1 [
0 => App\Entity\RoomPrices {#1717
-id: 2100
-title: "Villa avec piscine - Pointe"
-room: App\Entity\Rooms {#1045}
-quantity: null
-stayStartedAt: DateTimeImmutable @1734955200 {#1645
date: 2024-12-23 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1736078400 {#1654
date: 2025-01-05 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1720
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1761955140 {#1719
date: 2025-10-31 23:59:00.0 UTC (+00:00)
}
-minNights: 4
-doubleOccupancy: "5775.00"
-singleOccupancy: "5775.00"
-tripleOccupancy: "5775.00"
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: null
-defaultExtraLabel: null
}
]
}
-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:4 [
0 => App\Entity\RoomCapacities {#1728
-id: 2147
-room: App\Entity\Rooms {#1045}
-adults: 4
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1651
-id: 2148
-room: App\Entity\Rooms {#1045}
-adults: 4
-teens: null
-children: 2
-babies: 2
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1726
-id: 2149
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: 3
-children: null
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1428
-id: 2150
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: 3
-babies: 3
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-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 @1729674415 {#1029
date: 2024-10-23 09:06:55.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "671633213c0a3558564566.jpg"
-gallery: App\Entity\Galleries {#1288
-id: 18
-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: "Lux Grand Baie Villa piscine"
}
-mediaDirSlug: "132"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "villa-avec-piscine-2"
}
]
}
#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ôtière, Grand Baie, Île Maurice"
-checkInTime: "14:00"
-checkOutTime: "11:00"
-babyAgeMax: "6"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1182
#collection: Doctrine\Common\Collections\ArrayCollection {#1176
-elements: array:4 [
0 => App\Entity\ExtraCharges {#1613
-id: 114
-title: "Suppléments repas Lux Demi-pension par nuit"
-description: null
-adultExtra: 80.0
-babyExtra: null
-childExtra: 40.0
-teenExtra: 80.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
1 => App\Entity\ExtraCharges {#1627
-id: 115
-title: "Suppléments repas Lux Pension complète par nuit"
-description: null
-adultExtra: 120.0
-babyExtra: null
-childExtra: 60.0
-teenExtra: 120.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
2 => App\Entity\ExtraCharges {#1625
-id: 116
-title: "Suppléments repas Lux Formule "Tout inclus" par nuit"
-description: null
-adultExtra: 250.0
-babyExtra: null
-childExtra: 125.0
-teenExtra: 188.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
3 => App\Entity\ExtraCharges {#1624
-id: 174
-title: "BASE - PETIT DEJEUNER"
-description: null
-adultExtra: 0.0
-babyExtra: 0.0
-childExtra: 0.0
-teenExtra: 0.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: true
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-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: "66965ccb59247450838715.jpg"
-gallery: App\Entity\Galleries {#1249
-id: 16
-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: "Lux Grand Baie."
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#2027}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "lux-grand-baie"
}
-description: null
-stayStartAt: DateTimeImmutable @1730419200 {#1867
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1738886400 {#1868
date: 2025-02-07 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1725926400 {#1869
date: 2024-09-10 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1728950400 {#1870
date: 2024-10-15 00:00:00.0 UTC (+00:00)
}
-reference: "FESTIVE OFFER"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1872
#collection: Doctrine\Common\Collections\ArrayCollection {#1873
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1871}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1327 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1874
#collection: Doctrine\Common\Collections\ArrayCollection {#1875
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1871}
-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 {#1876
#collection: Doctrine\Common\Collections\ArrayCollection {#1877
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1871}
-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 {#1878
#collection: Doctrine\Common\Collections\ArrayCollection {#1879
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1871}
-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 {#1880
#collection: Doctrine\Common\Collections\ArrayCollection {#1881
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1871}
-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 {#1916
-id: 131
-title: "HELLO 2025 30%"
-type: "Special"
-hotel: App\Entity\Hotels {#1025}
-description: null
-stayStartAt: DateTimeImmutable @1733011200 {#1912
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1739404800 {#1913
date: 2025-02-13 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1729036800 {#1914
date: 2024-10-16 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1732924800 {#1915
date: 2024-11-30 00:00:00.0 UTC (+00:00)
}
-reference: "HELLO 2025"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1917
#collection: Doctrine\Common\Collections\ArrayCollection {#1918
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1916}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1327 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1919
#collection: Doctrine\Common\Collections\ArrayCollection {#1920
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1916}
-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 {#1921
#collection: Doctrine\Common\Collections\ArrayCollection {#1922
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1916}
-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 {#1923
#collection: Doctrine\Common\Collections\ArrayCollection {#1924
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1916}
-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 {#1925
#collection: Doctrine\Common\Collections\ArrayCollection {#1926
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1916}
-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 in
PromotionDTO.php
line 522:
if ($offer_bookingStartAt >= $currentBookingDate || $currentBookingDate >= $offer_bookingEndAt)
{
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle(), 'booking dates failure.');
}
return $this;
}
"115 - FESTIVE OFFER"
2 in
PromotionDTO.php
line 522:
if ($offer_bookingStartAt >= $currentBookingDate || $currentBookingDate >= $offer_bookingEndAt)
{
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle(), 'booking dates failure.');
}
return $this;
}
"booking dates failure."
1 in
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 {#2219
-debug: true
+id: 131
+title: "HELLO 2025 30%"
+description: null
+type: "Special"
+reference: "HELLO 2025"
+from: DateTimeImmutable @1733011200 {#1912
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1739404800 {#1913
date: 2025-02-13 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: null
+minNights: null
+maxNights: null
+discountRate: 30
+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" => 21
"picture_path" => "/uploads/hotels/21/66965ccb59247450838715.jpg"
"hotel_name" => "LUX Grand Baie"
"room_id" => 132
"room_name" => "Villa avec piscine"
"from" => "23/12/2024"
"to" => "27/12/2024"
"nights" => 4
"neededRooms" => 1
"adults" => 2
"children" => 0
"totalAmount" => 23100.0
"totalAmountDiscounted" => 16170.0
"mandatoryExtraId" => 174
"extra" => App\DTO\ExtraStayDTO {#1631
+extraId: 174
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 16170.0
+totalStayAmountWoDiscount: 23100.0
+totalStayAmount: 16170.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
"specialExtra" => []
"discounts" => array:1 [
0 => array:14 [
"id" => 131
"title" => "HELLO 2025 30%"
"description" => null
"reference" => "HELLO 2025"
"type" => "Special"
"rate" => 30
"extra_rate" => null
"start" => "01/12/2024"
"end" => "13/02/2025"
"kids_rate" => ""
"partial" => false
"selected_rooms" => []
"stayroom_amount_before" => 23100.0
"stayroom_amount_after" => 16170.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 {#1638
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1667
+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 {#2477
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2478
+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 {#2908
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2909
+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 {#3180
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3179
+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 {#1667}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2478}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2909}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3179}
]
-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: 21
-name: "LUX Grand Baie"
-description: "Un joyau de modernité délicatement posé sur la côte nord de l'île Maurice, qui fait tourner les têtes et chavirer les cœurs. LUX* Grand Baie redéfinit les codes du luxe et invite à apprécier le rythme paisible de la vie sur les îles. Paisible, mais pas monotone. Cet élégant boutique-hôtel, à l'image de la ville balnéaire à laquelle il doit son nom, est captivant et exaltant. Son incomparable scène culinaire, son époustouflant rooftop, son spa dernier cri sont autant d’invitations à profiter pleinement de chaque instant."
-website: "https://www.luxresorts.com/fr/maurice/hotel/luxgrandbaie"
-stars: 5
-youtubeVideoId: "p3Bcdro8Csw"
-phone: "+230 209 2200"
-email: "luxgrandbaie@luxresorts.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3749.1847857001076!2d57.58043401217097!3d-20.00075778132614!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217dab1da78e0199%3A0x8fe7bfe84f5e6684!2sLUX*2A%20Grand%20Baie!5e0!3m2!1sfr!2sfr!4v1718969493716!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Nord"
-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: 132
-name: "Villa avec piscine"
-description: "Nichées dans un jardin tropical, à seulement quelques mètres de la plage, ces villas de 240 m2 allient un design sophistiqué et le confort. Au rez-de-chaussée, il y a une suite principale avec vue sur la mer qui s'ouvre sur la piscine, un salon et une salle à manger lumineux, ainsi qu'un espace extérieur avec un gazebo et un barbecue. Au premier étage, il y a une deuxième chambre également avec vue sur la mer."
-active: true
-hotel: App\Entity\Hotels {#1025}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1690
-elements: array:1 [
0 => App\Entity\RoomPrices {#1717
-id: 2100
-title: "Villa avec piscine - Pointe"
-room: App\Entity\Rooms {#1045}
-quantity: null
-stayStartedAt: DateTimeImmutable @1734955200 {#1645
date: 2024-12-23 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1736078400 {#1654
date: 2025-01-05 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1720
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1761955140 {#1719
date: 2025-10-31 23:59:00.0 UTC (+00:00)
}
-minNights: 4
-doubleOccupancy: "5775.00"
-singleOccupancy: "5775.00"
-tripleOccupancy: "5775.00"
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: null
-defaultExtraLabel: null
}
]
}
-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:4 [
0 => App\Entity\RoomCapacities {#1728
-id: 2147
-room: App\Entity\Rooms {#1045}
-adults: 4
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1651
-id: 2148
-room: App\Entity\Rooms {#1045}
-adults: 4
-teens: null
-children: 2
-babies: 2
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1726
-id: 2149
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: 3
-children: null
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1428
-id: 2150
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: 3
-babies: 3
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-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 @1729674415 {#1029
date: 2024-10-23 09:06:55.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "671633213c0a3558564566.jpg"
-gallery: App\Entity\Galleries {#1288
-id: 18
-hotel: null
-room: App\Entity\Rooms {#1045}
-images: Doctrine\ORM\PersistentCollection {#1353
#collection: Doctrine\Common\Collections\ArrayCollection {#1354
-elements: array:5 [
0 => App\Entity\Images {#2652
-id: 35
-title: null
-imageFile: null
-imageName: "66606048c2020849692134.jpeg"
-size: 116343
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 527
]
-updatedAt: DateTimeImmutable @1717592136 {#2675
date: 2024-06-05 12:55:36.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
1 => App\Entity\Images {#2690
-id: 36
-title: null
-imageFile: null
-imageName: "66606048c29cc204396619.jpeg"
-size: 218240
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 527
]
-updatedAt: DateTimeImmutable @1717592136 {#2663
date: 2024-06-05 12:55:36.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
2 => App\Entity\Images {#2694
-id: 37
-title: null
-imageFile: null
-imageName: "66606048c3024126212349.jpeg"
-size: 179624
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 528
]
-updatedAt: DateTimeImmutable @1717592136 {#2693
date: 2024-06-05 12:55:36.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
3 => App\Entity\Images {#2697
-id: 509
-title: null
-imageFile: null
-imageName: "67164f2490305002470804.jpg"
-size: 286055
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 528
]
-updatedAt: DateTimeImmutable @1729515300 {#2696
date: 2024-10-21 12:55:00.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
4 => App\Entity\Images {#2699
-id: 510
-title: null
-imageFile: null
-imageName: "67164f2490ae7954392801.jpg"
-size: 105101
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 528
]
-updatedAt: DateTimeImmutable @1729515300 {#2698
date: 2024-10-21 12:55:00.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-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: "Lux Grand Baie Villa piscine"
}
-mediaDirSlug: "132"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "villa-avec-piscine-2"
}
]
}
#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ôtière, Grand Baie, Île Maurice"
-checkInTime: "14:00"
-checkOutTime: "11:00"
-babyAgeMax: "6"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1182
#collection: Doctrine\Common\Collections\ArrayCollection {#1176
-elements: array:4 [
0 => App\Entity\ExtraCharges {#1613
-id: 114
-title: "Suppléments repas Lux Demi-pension par nuit"
-description: null
-adultExtra: 80.0
-babyExtra: null
-childExtra: 40.0
-teenExtra: 80.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
1 => App\Entity\ExtraCharges {#1627
-id: 115
-title: "Suppléments repas Lux Pension complète par nuit"
-description: null
-adultExtra: 120.0
-babyExtra: null
-childExtra: 60.0
-teenExtra: 120.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
2 => App\Entity\ExtraCharges {#1625
-id: 116
-title: "Suppléments repas Lux Formule "Tout inclus" par nuit"
-description: null
-adultExtra: 250.0
-babyExtra: null
-childExtra: 125.0
-teenExtra: 188.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
3 => App\Entity\ExtraCharges {#1624
-id: 174
-title: "BASE - PETIT DEJEUNER"
-description: null
-adultExtra: 0.0
-babyExtra: 0.0
-childExtra: 0.0
-teenExtra: 0.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: true
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-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: "66965ccb59247450838715.jpg"
-gallery: App\Entity\Galleries {#1249
-id: 16
-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 {#2494
-id: 29
-title: null
-imageFile: null
-imageName: "66605e35ae9b8027832992.jpg"
-size: 359543
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 594
]
-updatedAt: DateTimeImmutable @1717591605 {#2493
date: 2024-06-05 12:46:45.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
1 => App\Entity\Images {#2485
-id: 30
-title: null
-imageFile: null
-imageName: "66605e35af2a2606424472.jpg"
-size: 342184
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 527
]
-updatedAt: DateTimeImmutable @1717591605 {#2486
date: 2024-06-05 12:46:45.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
2 => App\Entity\Images {#2483
-id: 31
-title: null
-imageFile: null
-imageName: "66605e35af6c1809940177.jpg"
-size: 252858
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 527
]
-updatedAt: DateTimeImmutable @1717591605 {#2484
date: 2024-06-05 12:46:45.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
3 => App\Entity\Images {#2481
-id: 428
-title: null
-imageFile: null
-imageName: "67053c926f49c995706383.jpg"
-size: 244503
-type: "image/jpeg"
-dimensions: array:2 [
0 => 792
1 => 593
]
-updatedAt: DateTimeImmutable @1728396434 {#2482
date: 2024-10-08 14:07:14.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
4 => App\Entity\Images {#2479
-id: 429
-title: null
-imageFile: null
-imageName: "67053c926fc30941308690.jpg"
-size: 235489
-type: "image/jpeg"
-dimensions: array:2 [
0 => 475
1 => 594
]
-updatedAt: DateTimeImmutable @1728396434 {#2480
date: 2024-10-08 14:07: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: "Lux Grand Baie."
}
-mediaDirSlug: "21"
-offers: Doctrine\Common\Collections\ArrayCollection {#2027
-elements: array:2 [
0 => App\Entity\Offers {#1871
-id: 115
-title: "FESTIVE OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1025}
-description: null
-stayStartAt: DateTimeImmutable @1730419200 {#1867
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1738886400 {#1868
date: 2025-02-07 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1725926400 {#1869
date: 2024-09-10 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1728950400 {#1870
date: 2024-10-15 00:00:00.0 UTC (+00:00)
}
-reference: "FESTIVE OFFER"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1872
#collection: Doctrine\Common\Collections\ArrayCollection {#1873
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1871}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1327 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1874
#collection: Doctrine\Common\Collections\ArrayCollection {#1875
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1871}
-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 {#1876
#collection: Doctrine\Common\Collections\ArrayCollection {#1877
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1871}
-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 {#1878
#collection: Doctrine\Common\Collections\ArrayCollection {#1879
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1871}
-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 {#1880
#collection: Doctrine\Common\Collections\ArrayCollection {#1881
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1871}
-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 {#1916
-id: 131
-title: "HELLO 2025 30%"
-type: "Special"
-hotel: App\Entity\Hotels {#1025}
-description: null
-stayStartAt: DateTimeImmutable @1733011200 {#1912
date: 2024-12-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1739404800 {#1913
date: 2025-02-13 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1729036800 {#1914
date: 2024-10-16 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1732924800 {#1915
date: 2024-11-30 00:00:00.0 UTC (+00:00)
}
-reference: "HELLO 2025"
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1917
#collection: Doctrine\Common\Collections\ArrayCollection {#1918
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1916}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1327 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1919
#collection: Doctrine\Common\Collections\ArrayCollection {#1920
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1916}
-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 {#1921
#collection: Doctrine\Common\Collections\ArrayCollection {#1922
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1916}
-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 {#1923
#collection: Doctrine\Common\Collections\ArrayCollection {#1924
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1916}
-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 {#1925
#collection: Doctrine\Common\Collections\ArrayCollection {#1926
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1916}
-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
}
]
}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "lux-grand-baie"
}
+stars: null
+dateRange: "23/12/2024 - 27/12/2024"
+fromAt: DateTimeImmutable @1734912000 {#3363
date: 2024-12-23 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1735343940 {#3362
date: 2024-12-27 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => "6"
"child" => "12"
"teen" => "18"
]
+nights: 4
+chambers: []
+stay_rooms: array:1 [
0 => App\DTO\RoomStayDTO {#1580
-id: 132
-name: "Villa avec piscine"
-slug: "villa-avec-piscine-2"
-picture: "/uploads/rooms/132/671633213c0a3558564566.jpg"
-description: "Nichées dans un jardin tropical, à seulement quelques mètres de la plage, ces villas de 240 m2 allient un design sophistiqué et le confort. Au rez-de-chaussée, il y a une suite principale avec vue sur la mer qui s'ouvre sur la piscine, un salon et une salle à manger lumineux, ainsi qu'un espace extérieur avec un gazebo et un barbecue. Au premier étage, il y a une deuxième chambre également avec vue sur la mer."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 174
-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" => 5775
"kids_price" => 0
"adults_discount_price" => 4042.5
"kids_discount_price" => 0.0
"discounts" => array:1 [
131 => array:2 [
"name" => "HELLO 2025 30%"
"rate" => 30
]
]
]
"2024-12-24" => array:5 [
"adults_price" => 5775
"kids_price" => 0
"adults_discount_price" => 4042.5
"kids_discount_price" => 0.0
"discounts" => array:1 [
131 => array:2 [
"name" => "HELLO 2025 30%"
"rate" => 30
]
]
]
"2024-12-25" => array:5 [
"adults_price" => 5775
"kids_price" => 0
"adults_discount_price" => 4042.5
"kids_discount_price" => 0.0
"discounts" => array:1 [
131 => array:2 [
"name" => "HELLO 2025 30%"
"rate" => 30
]
]
]
"2024-12-26" => array:5 [
"adults_price" => 5775
"kids_price" => 0
"adults_discount_price" => 4042.5
"kids_discount_price" => 0.0
"discounts" => array:1 [
131 => array:2 [
"name" => "HELLO 2025 30%"
"rate" => 30
]
]
]
]
"amount" => 23100
"amount_discount" => 16170.0
]
]
-totalStayAmount: 23100.0
-totalRoomAmountDiscounted: 16170.0
-communExtras: array:4 [
0 => App\DTO\ExtraStayDTO {#1631
+extraId: 174
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 16170.0
+totalStayAmountWoDiscount: 23100.0
+totalStayAmount: 16170.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1620
+extraId: 114
+name: "Suppléments repas Lux Demi-pension par nuit"
+description: null
+stayTotalNights: 4
+dailyAdults: 160
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 640
+kidsExtrasAmount: 0
+stayExtrasAmount: 640
+stayRoomAmount: 16170.0
+totalStayAmountWoDiscount: 23740.0
+totalStayAmount: 16810.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1643
+extraId: 115
+name: "Suppléments repas Lux Pension complète par nuit"
+description: null
+stayTotalNights: 4
+dailyAdults: 240
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 960
+kidsExtrasAmount: 0
+stayExtrasAmount: 960
+stayRoomAmount: 16170.0
+totalStayAmountWoDiscount: 24060.0
+totalStayAmount: 17130.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
3 => App\DTO\ExtraStayDTO {#1642
+extraId: 116
+name: "Suppléments repas Lux Formule "Tout inclus" par nuit"
+description: null
+stayTotalNights: 4
+dailyAdults: 500
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 2000
+kidsExtrasAmount: 0
+stayExtrasAmount: 2000
+stayRoomAmount: 16170.0
+totalStayAmountWoDiscount: 25100.0
+totalStayAmount: 18170.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: array:1 [
0 => array:14 [
"id" => 131
"title" => "HELLO 2025 30%"
"description" => null
"reference" => "HELLO 2025"
"type" => "Special"
"rate" => 30
"extra_rate" => null
"start" => "01/12/2024"
"end" => "13/02/2025"
"kids_rate" => ""
"partial" => false
"selected_rooms" => []
"stayroom_amount_before" => 23100.0
"stayroom_amount_after" => 16170.0
]
]
-error: []
}
]
}