Dumped Contents
1 in
RoomStayCalculation.php
line 61:
$chambersRoomsPrices[$indexChamber][$key]['isCapacity'] = $chamber->hasMatchingRoomCapacity($room->getroomCapacities());
if ($this->debug) {
dump('Hotel : '.$hotel->getName().' - Chambre : #'. $room->getId(). ' - '.$room->getName(). ' has the capacity config check: ', $chambersRoomsPrices[$indexChamber][$key]['isCapacity']);
dump($chamber);
}
"Hotel : Le Cardinal Resort - Chambre : #59 - Deluxe Penthouse has the capacity config check: "
2 in
RoomStayCalculation.php
line 61:
$chambersRoomsPrices[$indexChamber][$key]['isCapacity'] = $chamber->hasMatchingRoomCapacity($room->getroomCapacities());
if ($this->debug) {
dump('Hotel : '.$hotel->getName().' - Chambre : #'. $room->getId(). ' - '.$room->getName(). ' has the capacity config check: ', $chambersRoomsPrices[$indexChamber][$key]['isCapacity']);
dump($chamber);
}
true
In
RoomStayCalculation.php
line 62:
if ($this->debug) {
dump('Hotel : '.$hotel->getName().' - Chambre : #'. $room->getId(). ' - '.$room->getName(). ' has the capacity config check: ', $chambersRoomsPrices[$indexChamber][$key]['isCapacity']);
dump($chamber);
}
// check room capacities
App\DTO\SearchChambersDTO {#1413
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
1 in
RoomStayCalculation.php
line 472:
}
if ($this->debug) {
dump('getDatesAndDailyPrices() -> Results before parsing', $roomPricesDatesAndPrice);
}
"getDatesAndDailyPrices() -> Results before parsing"
2 in
RoomStayCalculation.php
line 472:
}
if ($this->debug) {
dump('getDatesAndDailyPrices() -> Results before parsing', $roomPricesDatesAndPrice);
}
array:1 [
0 => App\DTO\RoomDatesAndPricesDTO {#1702
+rpId: 1419
+adultsPrice: 655
+childrenPrice: 0
+startAt: DateTimeImmutable @1742688000 {#1466
date: 2025-03-23 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1743119940 {#1452
date: 2025-03-27 23:59:00.0 UTC (+00:00)
}
}
]
1 in
RoomStayCalculation.php
line 481:
$prices_wo_extras = $this->parseDailyPrices($roomPricesDatesAndPrice);
if ($this->debug) {
dump('parseDailyPrices() -> Parsed daily prices', $prices_wo_extras);
}
if (!$prices_wo_extras) {
"parseDailyPrices() -> Parsed daily prices"
2 in
RoomStayCalculation.php
line 481:
$prices_wo_extras = $this->parseDailyPrices($roomPricesDatesAndPrice);
if ($this->debug) {
dump('parseDailyPrices() -> Parsed daily prices', $prices_wo_extras);
}
if (!$prices_wo_extras) {
array:4 [
"2025-03-23" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-26" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
]
1 in
RoomStayCalculation.php
line 88:
$searchResults = [];
if ($this->debug) {
dump('Update Stay Rooms - Chambers Prices', $chambersRoomsPrices);
}
"Update Stay Rooms - Chambers Prices"
2 in
RoomStayCalculation.php
line 88:
$searchResults = [];
if ($this->debug) {
dump('Update Stay Rooms - Chambers Prices', $chambersRoomsPrices);
}
array:1 [
0 => array:1 [
0 => array:13 [
"current_chamber" => App\DTO\SearchChambersDTO {#1413
+nbAdults: 2
+nbChildren: 0
+teenCount: null
+childCount: null
+babyCount: null
+birthdays: []
}
"room_id" => 59
"room_picture" => "/uploads/rooms/59/6718e3f8aded0024241338.jpg"
"room_name" => "Deluxe Penthouse"
"room_slug" => "deluxe-penthouse"
"room_description" => """
Enveloppés d'un délicat tissu blanc, le lit king size à baldaquin, la lampe suspendue au plafond voûté en bois, le mobilier sur mesure, les larges fenêtres et portes terrasses, créent une atmosphère très chic et intimiste.\r\n
\r\n
La suite spacieuse de 87 m² dispose également d'un espace salon avec un canapé confortable de couleur beige, habillé de coussins blancs et verts pour se reposer ou s'adonner à la vue fondante du lagon bleu turquoise.\r\n
\r\n
Pour profiter de ces moments de tendresse, on peut se détendre sur les transats de la terrasse de 48 m², main dans la main et en sirotant une coupe de champagne bien frais, se détendre dans le bassin profond privé et, apprécier cet après-midi mémorable en contemplant l'océan bleu vers l'infini. …. une véritable expérience des sens……
"""
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1419
"adult_amount" => 2620
"children_amount" => 0
"basis_amount" => 2620
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2025-03-23" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-26" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
]
]
]
]
]
1 in
RoomStayCalculation.php
line 217:
}
if ($this->debug) {
dump('Update Stay Rooms results', $searchResults);
}
// Set the results and sort by total amount ASC
"Update Stay Rooms results"
2 in
RoomStayCalculation.php
line 217:
}
if ($this->debug) {
dump('Update Stay Rooms results', $searchResults);
}
// Set the results and sort by total amount ASC
array:1 [
0 => App\DTO\RoomStayDTO {#1599
-marginRate: 20
-id: 59
-name: "Deluxe Penthouse"
-slug: "deluxe-penthouse"
-picture: "/uploads/rooms/59/6718e3f8aded0024241338.jpg"
-description: """
Enveloppés d'un délicat tissu blanc, le lit king size à baldaquin, la lampe suspendue au plafond voûté en bois, le mobilier sur mesure, les larges fenêtres et portes terrasses, créent une atmosphère très chic et intimiste.\r\n
\r\n
La suite spacieuse de 87 m² dispose également d'un espace salon avec un canapé confortable de couleur beige, habillé de coussins blancs et verts pour se reposer ou s'adonner à la vue fondante du lagon bleu turquoise.\r\n
\r\n
Pour profiter de ces moments de tendresse, on peut se détendre sur les transats de la terrasse de 48 m², main dans la main et en sirotant une coupe de champagne bien frais, se détendre dans le bassin profond privé et, apprécier cet après-midi mémorable en contemplant l'océan bleu vers l'infini. …. une véritable expérience des sens……
"""
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 173
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-23" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-26" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
]
"amount" => 2620
]
]
-totalRoomAmount: 2620.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:1 [
0 => App\DTO\ExtraStayDTO {#1644
-marginRate: 20
+extraId: 173
+name: "Base Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2620.0
+totalStayAmountWoDiscount: 2620.0
+totalStayAmount: 2620.0
+finalAmountWoDiscount: 3144.0
+finalAmount: 3144.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
]
1 in
RoomStayCalculation.php
line 274:
{
$offers_eligibled = [];
if ($this->debug) {
dump('All available offers of the hotel', $offers);
}
foreach ($offers as $key => $offer) {
"All available offers of the hotel"
2 in
RoomStayCalculation.php
line 274:
{
$offers_eligibled = [];
if ($this->debug) {
dump('All available offers of the hotel', $offers);
}
foreach ($offers as $key => $offer) {
Doctrine\Common\Collections\ArrayCollection {#1873
-elements: array:1 [
0 => App\Entity\Offers {#1852
-id: 181
-title: "Contractuelle 10%"
-type: "Special"
-hotel: App\Entity\Hotels {#1027
-id: 10
-name: "Le Cardinal Resort"
-description: """
Idéalement situé au nord-ouest de l'île Maurice, Le Cardinal Exclusive Resort est une boutique hôtel qui offre une atmosphère exclusive, exotique et exaltante. Profitez d'un climat agréable tout au long de l'année et d'une grande variété d'attractions touristiques à découvrir dans les environs.\r\n
\r\n
Toutes nos suites offrent une vue imprenable sur notre plage privée et le lagon bleu turquoise de Trou aux Biches. Lors de votre séjour parmi nous, vous serez ravis de découvrir notre salle de soins avec vue sur le lagon, et de déguster les plats les plus raffinés dans notre restaurant gastronomique.
"""
-website: "https://lecardinalresort.com/"
-stars: 5
-youtubeVideoId: "n0jfhb598QM"
-phone: "+230 204 5200"
-email: "info@thecardinal.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3748.5668782455905!2d57.54570681217133!3d-20.026684981305994!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217daca5cb0c0fa5%3A0x5073758e9bdf4aa9!2sLe%20Cardinal%20Exclusive%20Resort!5e0!3m2!1sfr!2sfr!4v1718969049174!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Nord"
-createdAt: DateTimeImmutable @1714145854 {#1019
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733326118 {#1050
date: 2024-12-04 15:28:38.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1024
#collection: Doctrine\Common\Collections\ArrayCollection {#1023
-elements: array:1 [
0 => App\Entity\Rooms {#1047
-id: 59
-name: "Deluxe Penthouse"
-description: """
Enveloppés d'un délicat tissu blanc, le lit king size à baldaquin, la lampe suspendue au plafond voûté en bois, le mobilier sur mesure, les larges fenêtres et portes terrasses, créent une atmosphère très chic et intimiste.\r\n
\r\n
La suite spacieuse de 87 m² dispose également d'un espace salon avec un canapé confortable de couleur beige, habillé de coussins blancs et verts pour se reposer ou s'adonner à la vue fondante du lagon bleu turquoise.\r\n
\r\n
Pour profiter de ces moments de tendresse, on peut se détendre sur les transats de la terrasse de 48 m², main dans la main et en sirotant une coupe de champagne bien frais, se détendre dans le bassin profond privé et, apprécier cet après-midi mémorable en contemplant l'océan bleu vers l'infini. …. une véritable expérience des sens……
"""
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1678
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 1419
-title: "Deluxe Penthouse"
-room: App\Entity\Rooms {#1047}
-quantity: 1
-stayStartedAt: DateTimeImmutable @1736164800 {#1647
date: 2025-01-06 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1656
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1722
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1721
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 3
-doubleOccupancy: "655.00"
-singleOccupancy: "655.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: 60.0
-extraTeen: null
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1083
#collection: Doctrine\Common\Collections\ArrayCollection {#1180
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#904 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1144 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1040
#collection: Doctrine\Common\Collections\ArrayCollection {#1042
-elements: array:12 [
0 => App\Entity\RoomCapacities {#1717
-id: 2425
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 2426
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1618
-id: 2427
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1600
-id: 2428
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1601
-id: 2429
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1723
-id: 2430
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1724
-id: 2431
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1688
-id: 2432
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1728
-id: 2433
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#1799
-id: 2434
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#1658
-id: 2435
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#1679
-id: 2436
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:12 [ …12]
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#906 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1069 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1012
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729698872 {#1031
date: 2024-10-23 15:54:32.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "6718e3f8aded0024241338.jpg"
-gallery: App\Entity\Galleries {#1290
-id: 195
-hotel: null
-room: App\Entity\Rooms {#1047}
-images: Doctrine\ORM\PersistentCollection {#1355
#collection: Doctrine\Common\Collections\ArrayCollection {#1356
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1290}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "le cardinal deluixe penthouse"
}
-mediaDirSlug: "59"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "deluxe-penthouse"
}
]
}
#initialized: true
-snapshot: array:1 [ …1]
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1116 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-address: "Route Côtiere, Trou aux Biches, Île Maurice"
-checkInTime: "16H00"
-checkOutTime: "6H00"
-babyAgeMax: "4"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:3 [
0 => App\Entity\ExtraCharges {#1648
-id: 40
-title: "Suppléments repas de Noêl"
-description: null
-adultExtra: 105.0
-babyExtra: null
-childExtra: null
-teenExtra: 75.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1623
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1622
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
1 => App\Entity\ExtraCharges {#1654
-id: 41
-title: "Suppléments repas Saint Sylvestre"
-description: null
-adultExtra: 105.0
-babyExtra: null
-childExtra: 75.0
-teenExtra: null
-stayStartedAt: DateTimeImmutable @1735603200 {#1651
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1652
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
2 => App\Entity\ExtraCharges {#1639
-id: 173
-title: "Base Demi pension"
-description: null
-adultExtra: 0.0
-babyExtra: null
-childExtra: 0.0
-teenExtra: 0.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: true
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1117 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-imageFile: null
-featuredImage: "66965b4ca2196925125289.jpg"
-gallery: App\Entity\Galleries {#1251
-id: 181
-hotel: App\Entity\Hotels {#1027}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1264
#collection: Doctrine\Common\Collections\ArrayCollection {#1263
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Galleries {#1251}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "Le Cardinal"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1873}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "le-cardinal-resort"
}
-description: null
-stayStartAt: DateTimeImmutable @1736121600 {#1848
date: 2025-01-06 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1849
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1850
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1851
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: null
-minNights: 5
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1853
#collection: Doctrine\Common\Collections\ArrayCollection {#1854
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1852}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 10
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1855
#collection: Doctrine\Common\Collections\ArrayCollection {#1856
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1852}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1335 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1857
#collection: Doctrine\Common\Collections\ArrayCollection {#1858
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1852}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1339 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1859
#collection: Doctrine\Common\Collections\ArrayCollection {#1860
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1852}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1341 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1861
#collection: Doctrine\Common\Collections\ArrayCollection {#1862
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1852}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
1 in
PromotionDTO.php
line 556:
if ($offer_min_nights) {
if($stay_nights < $offer_min_nights){
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle(), 'Min nights failure.');
}
return $this;
}
"181 - Contractuelle 10%"
2 in
PromotionDTO.php
line 556:
if ($offer_min_nights) {
if($stay_nights < $offer_min_nights){
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle(), 'Min nights failure.');
}
return $this;
}
"Min nights failure."
1 in
RoomStayCalculation.php
line 246:
$validOffers = $this->getValidOffers($hotel->getOffers());
if ($this->debug) {
dump('Step 1. Offres valides : ', $validOffers);
}
if ($validOffers == null) {
"Step 1. Offres valides : "
2 in
RoomStayCalculation.php
line 246:
$validOffers = $this->getValidOffers($hotel->getOffers());
if ($this->debug) {
dump('Step 1. Offres valides : ', $validOffers);
}
if ($validOffers == null) {
null
1 in
HotelController.php
line 638:
$formBookingHidden->handleRequest($request);
// dump("Session vars:", $siteSession->allVars());
dump("Current Room Price:", $roomRate);
return $this->render('room/show.html.twig', [
'room' => $room,
"Current Room Price:"
2 in
HotelController.php
line 638:
$formBookingHidden->handleRequest($request);
// dump("Session vars:", $siteSession->allVars());
dump("Current Room Price:", $roomRate);
return $this->render('room/show.html.twig', [
'room' => $room,
array:18 [
"hotel_id" => 10
"picture_path" => "/uploads/hotels/10/66965b4ca2196925125289.jpg"
"hotel_name" => "Le Cardinal Resort"
"room_id" => 59
"room_name" => "Deluxe Penthouse"
"from" => "23/03/2025"
"to" => "27/03/2025"
"nights" => 4
"neededRooms" => 1
"adults" => 2
"children" => 0
"totalAmount" => 2620.0
"totalAmountDiscounted" => null
"mandatoryExtraId" => 173
"extra" => App\DTO\ExtraStayDTO {#1644
-marginRate: 20
+extraId: 173
+name: "Base Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2620.0
+totalStayAmountWoDiscount: 2620.0
+totalStayAmount: 2620.0
+finalAmountWoDiscount: 3144.0
+finalAmount: 3144.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
"specialExtra" => []
"discounts" => []
"error" => []
]
1 in
HomeController.php
line 84:
'config_chambers' => ($siteSession->getSessionVar('search/chambers')) ? json_decode($siteSession->getSessionVar('search/chambers')) : null
];
dump('Search Model booking :', $searchToolsDTO);
$form = $this->createForm(SearchToolsType::class, $searchToolsDTO, $searchTypeOptions);
"Search Model booking :"
2 in
HomeController.php
line 84:
'config_chambers' => ($siteSession->getSessionVar('search/chambers')) ? json_decode($siteSession->getSessionVar('search/chambers')) : null
];
dump('Search Model booking :', $searchToolsDTO);
$form = $this->createForm(SearchToolsType::class, $searchToolsDTO, $searchTypeOptions);
App\DTO\SearchToolsDTO {#802
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#803
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#804
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#805
-metadata: Vich\UploaderBundle\Metadata\MetadataReader {#458
-reader: Metadata\MetadataFactory {#450
-driver: Metadata\Driver\DriverChain {#451
-drivers: array:4 [
0 => Vich\UploaderBundle\Metadata\Driver\XmlDriver {#452
-locator: Metadata\Driver\FileLocator {#449
-dirs: []
}
}
1 => Vich\UploaderBundle\Metadata\Driver\AnnotationDriver {#453
#reader: Vich\UploaderBundle\Metadata\Driver\AttributeReader {#454}
-managerRegistryList: array:1 [
0 => Doctrine\Bundle\DoctrineBundle\Registry {#83
-name: "ORM"
-connections: array:1 [
"default" => "doctrine.dbal.default_connection"
]
-managers: array:1 [
"default" => "doctrine.orm.default_entity_manager"
]
-defaultConnection: "default"
-defaultManager: "default"
-proxyInterfaceName: "Doctrine\Persistence\Proxy"
#container: ContainerUIpB4Xl\App_KernelDevDebugContainer {#42 …20}
}
]
}
2 => Vich\UploaderBundle\Metadata\Driver\YamlDriver {#455
-locator: Metadata\Driver\FileLocator {#449}
}
3 => Vich\UploaderBundle\Metadata\Driver\YmlDriver {#456
-locator: Metadata\Driver\FileLocator {#449}
}
]
}
-cache: Metadata\Cache\FileCache {#457
-dir: "/var/www/vhost/allons-maurice/app/var/cache/dev/vich_uploader"
}
-loadedMetadata: array:5 [
"App\Entity\Rooms" => Metadata\ClassHierarchyMetadata {#1580
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1578
+name: "App\Entity\Rooms"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Rooms.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_rooms"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Hotels" => Metadata\ClassHierarchyMetadata {#2041
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1627
+name: "App\Entity\Hotels"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Hotels.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_hotels"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Images" => Metadata\ClassHierarchyMetadata {#2282
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2283
+name: "App\Entity\Images"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Images.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "medias"
"propertyName" => "imageFile"
"fileNameProperty" => "imageName"
"size" => "size"
"mimeType" => "type"
"originalName" => null
"dimensions" => "dimensions"
]
]
}
]
}
"App\Entity\Slides" => Metadata\ClassHierarchyMetadata {#2703
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2704
+name: "App\Entity\Slides"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Slides.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "slides"
"propertyName" => "imageFile"
"fileNameProperty" => "bgImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Posts" => Metadata\ClassHierarchyMetadata {#2979
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2978
+name: "App\Entity\Posts"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Posts.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_posts"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
]
-loadedClassMetadata: array:5 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1578}
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1627}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2283}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2704}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2978}
]
-hierarchyMetadataClass: "Metadata\ClassHierarchyMetadata"
-includeInterfaces: false
-debug: true
}
}
-resolver: Vich\UploaderBundle\Mapping\PropertyMappingResolver {#806
-container: ContainerUIpB4Xl\App_KernelDevDebugContainer {#42 …20}
-mappings: array:5 [
"featured_hotels" => array:8 [
"uri_prefix" => "/uploads/hotels"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/hotels"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.featured_hotels"
"options" => []
]
"directory_namer" => array:2 [
"service" => "vich_uploader.namer_directory_property"
"options" => array:2 [
"property" => "mediaDirSlug"
"transliterate" => true
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"featured_rooms" => array:8 [
"uri_prefix" => "/uploads/rooms"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/rooms"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.featured_rooms"
"options" => []
]
"directory_namer" => array:2 [
"service" => "vich_uploader.namer_directory_property"
"options" => array:2 [
"property" => "mediaDirSlug"
"transliterate" => true
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"featured_posts" => array:8 [
"uri_prefix" => "/uploads/posts"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/posts"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.featured_posts"
"options" => []
]
"directory_namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\CurrentDateTimeDirectoryNamer"
"options" => array:2 [
"date_time_format" => "Y/m/d"
"date_time_property" => "uploadedAt"
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"medias" => array:8 [
"uri_prefix" => "/uploads/medias"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/medias"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.medias"
"options" => []
]
"directory_namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\CurrentDateTimeDirectoryNamer"
"options" => array:2 [
"date_time_format" => "Y/m/d"
"date_time_property" => "uploadedAt"
]
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
"slides" => array:8 [
"uri_prefix" => "/uploads/slides"
"upload_destination" => "/var/www/vhost/allons-maurice/app/public/uploads/slides"
"namer" => array:2 [
"service" => "Vich\UploaderBundle\Naming\UniqidNamer.slides"
"options" => []
]
"directory_namer" => array:2 [
"service" => null
"options" => null
]
"delete_on_remove" => true
"delete_on_update" => true
"inject_on_load" => false
"db_driver" => "orm"
]
]
-defaultFilenameAttributeSuffix: "_name"
}
}
}
}
+hotel: App\Entity\Hotels {#1027
-id: 10
-name: "Le Cardinal Resort"
-description: """
Idéalement situé au nord-ouest de l'île Maurice, Le Cardinal Exclusive Resort est une boutique hôtel qui offre une atmosphère exclusive, exotique et exaltante. Profitez d'un climat agréable tout au long de l'année et d'une grande variété d'attractions touristiques à découvrir dans les environs.\r\n
\r\n
Toutes nos suites offrent une vue imprenable sur notre plage privée et le lagon bleu turquoise de Trou aux Biches. Lors de votre séjour parmi nous, vous serez ravis de découvrir notre salle de soins avec vue sur le lagon, et de déguster les plats les plus raffinés dans notre restaurant gastronomique.
"""
-website: "https://lecardinalresort.com/"
-stars: 5
-youtubeVideoId: "n0jfhb598QM"
-phone: "+230 204 5200"
-email: "info@thecardinal.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3748.5668782455905!2d57.54570681217133!3d-20.026684981305994!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217daca5cb0c0fa5%3A0x5073758e9bdf4aa9!2sLe%20Cardinal%20Exclusive%20Resort!5e0!3m2!1sfr!2sfr!4v1718969049174!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Nord"
-createdAt: DateTimeImmutable @1714145854 {#1019
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733326118 {#1050
date: 2024-12-04 15:28:38.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1024
#collection: Doctrine\Common\Collections\ArrayCollection {#1023
-elements: array:1 [
0 => App\Entity\Rooms {#1047
-id: 59
-name: "Deluxe Penthouse"
-description: """
Enveloppés d'un délicat tissu blanc, le lit king size à baldaquin, la lampe suspendue au plafond voûté en bois, le mobilier sur mesure, les larges fenêtres et portes terrasses, créent une atmosphère très chic et intimiste.\r\n
\r\n
La suite spacieuse de 87 m² dispose également d'un espace salon avec un canapé confortable de couleur beige, habillé de coussins blancs et verts pour se reposer ou s'adonner à la vue fondante du lagon bleu turquoise.\r\n
\r\n
Pour profiter de ces moments de tendresse, on peut se détendre sur les transats de la terrasse de 48 m², main dans la main et en sirotant une coupe de champagne bien frais, se détendre dans le bassin profond privé et, apprécier cet après-midi mémorable en contemplant l'océan bleu vers l'infini. …. une véritable expérience des sens……
"""
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1678
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 1419
-title: "Deluxe Penthouse"
-room: App\Entity\Rooms {#1047}
-quantity: 1
-stayStartedAt: DateTimeImmutable @1736164800 {#1647
date: 2025-01-06 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1746014400 {#1656
date: 2025-04-30 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1722
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1767181057 {#1721
date: 2025-12-31 11:37:37.0 UTC (+00:00)
}
-minNights: 3
-doubleOccupancy: "655.00"
-singleOccupancy: "655.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: 60.0
-extraTeen: null
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1083
#collection: Doctrine\Common\Collections\ArrayCollection {#1180
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#904 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1144 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1040
#collection: Doctrine\Common\Collections\ArrayCollection {#1042
-elements: array:12 [
0 => App\Entity\RoomCapacities {#1717
-id: 2425
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 2426
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1618
-id: 2427
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1600
-id: 2428
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1601
-id: 2429
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1723
-id: 2430
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1724
-id: 2431
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1688
-id: 2432
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1728
-id: 2433
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#1799
-id: 2434
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#1658
-id: 2435
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#1679
-id: 2436
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:12 [ …12]
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#906 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1069 …}
}
-createdAt: DateTimeImmutable @1717520580 {#1012
date: 2024-06-04 17:03:00.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729698872 {#1031
date: 2024-10-23 15:54:32.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "6718e3f8aded0024241338.jpg"
-gallery: App\Entity\Galleries {#1290
-id: 195
-hotel: null
-room: App\Entity\Rooms {#1047}
-images: Doctrine\ORM\PersistentCollection {#1355
#collection: Doctrine\Common\Collections\ArrayCollection {#1356
-elements: array:3 [
0 => App\Entity\Images {#2455
-id: 779
-title: null
-imageFile: null
-imageName: "67335f30707dd349268446.jpg"
-size: 523719
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1988
1 => 1326
]
-updatedAt: DateTimeImmutable @1731419952 {#2478
date: 2024-11-12 13:59:12.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
1 => App\Entity\Images {#2493
-id: 780
-title: null
-imageFile: null
-imageName: "67335f443c5e3217973382.jpg"
-size: 487127
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1960
1 => 1307
]
-updatedAt: DateTimeImmutable @1731419972 {#2466
date: 2024-11-12 13:59:32.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
2 => App\Entity\Images {#2497
-id: 781
-title: null
-imageFile: null
-imageName: "67335f443cd1e099846807.jpg"
-size: 405998
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1988
1 => 1326
]
-updatedAt: DateTimeImmutable @1731419972 {#2496
date: 2024-11-12 13:59:32.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Galleries {#1290}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "le cardinal deluixe penthouse"
}
-mediaDirSlug: "59"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "deluxe-penthouse"
}
]
}
#initialized: true
-snapshot: array:1 [ …1]
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1116 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-address: "Route Côtiere, Trou aux Biches, Île Maurice"
-checkInTime: "16H00"
-checkOutTime: "6H00"
-babyAgeMax: "4"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:3 [
0 => App\Entity\ExtraCharges {#1648
-id: 40
-title: "Suppléments repas de Noêl"
-description: null
-adultExtra: 105.0
-babyExtra: null
-childExtra: null
-teenExtra: 75.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1623
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1622
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
1 => App\Entity\ExtraCharges {#1654
-id: 41
-title: "Suppléments repas Saint Sylvestre"
-description: null
-adultExtra: 105.0
-babyExtra: null
-childExtra: 75.0
-teenExtra: null
-stayStartedAt: DateTimeImmutable @1735603200 {#1651
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1652
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
2 => App\Entity\ExtraCharges {#1639
-id: 173
-title: "Base Demi pension"
-description: null
-adultExtra: 0.0
-babyExtra: null
-childExtra: 0.0
-teenExtra: 0.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: true
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1117 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-imageFile: null
-featuredImage: "66965b4ca2196925125289.jpg"
-gallery: App\Entity\Galleries {#1251
-id: 181
-hotel: App\Entity\Hotels {#1027}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1264
#collection: Doctrine\Common\Collections\ArrayCollection {#1263
-elements: array:5 [
0 => App\Entity\Images {#2299
-id: 445
-title: null
-imageFile: null
-imageName: "670fb574e7365195241310.jpg"
-size: 96247
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1024
1 => 610
]
-updatedAt: DateTimeImmutable @1729082740 {#2298
date: 2024-10-16 12:45:40.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
1 => App\Entity\Images {#2290
-id: 446
-title: null
-imageFile: null
-imageName: "670fb574e7b54566102306.jpg"
-size: 125581
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1060
1 => 456
]
-updatedAt: DateTimeImmutable @1729082740 {#2291
date: 2024-10-16 12:45:40.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
2 => App\Entity\Images {#2288
-id: 447
-title: null
-imageFile: null
-imageName: "670fb574e7f3c283117341.jpg"
-size: 172747
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1060
1 => 610
]
-updatedAt: DateTimeImmutable @1729082740 {#2289
date: 2024-10-16 12:45:40.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
3 => App\Entity\Images {#2286
-id: 448
-title: null
-imageFile: null
-imageName: "670fb574e8464508905251.jpg"
-size: 165565
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1060
1 => 610
]
-updatedAt: DateTimeImmutable @1729082740 {#2287
date: 2024-10-16 12:45:40.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
4 => App\Entity\Images {#2284
-id: 449
-title: null
-imageFile: null
-imageName: "670fb574e8991729356402.jpg"
-size: 157468
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1060
1 => 610
]
-updatedAt: DateTimeImmutable @1729082740 {#2285
date: 2024-10-16 12:45:40.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Galleries {#1251}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "Le Cardinal"
}
-mediaDirSlug: "10"
-offers: Doctrine\Common\Collections\ArrayCollection {#1873
-elements: array:1 [
0 => App\Entity\Offers {#1852
-id: 181
-title: "Contractuelle 10%"
-type: "Special"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1736121600 {#1848
date: 2025-01-06 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1849
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1850
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1851
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: null
-minNights: 5
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1853
#collection: Doctrine\Common\Collections\ArrayCollection {#1854
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1852}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 10
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1855
#collection: Doctrine\Common\Collections\ArrayCollection {#1856
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1852}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1335 …}
-backRefFieldName: "offers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-offers: Doctrine\ORM\PersistentCollection {#1857
#collection: Doctrine\Common\Collections\ArrayCollection {#1858
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1852}
-association: Doctrine\ORM\Mapping\ManyToManyInverseSideMapping {#1339 …}
-backRefFieldName: "selectedOffers"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-combinableDiscount: null
-selectedExtras: Doctrine\ORM\PersistentCollection {#1859
#collection: Doctrine\Common\Collections\ArrayCollection {#1860
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1852}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1341 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-active: true
-selectedExtrasDiscounted: Doctrine\ORM\PersistentCollection {#1861
#collection: Doctrine\Common\Collections\ArrayCollection {#1862
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1852}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "le-cardinal-resort"
}
+stars: null
+dateRange: "23/03/2025 - 27/03/2025"
+fromAt: DateTimeImmutable @1742688000 {#3162
date: 2025-03-23 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743119940 {#3161
date: 2025-03-27 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => "4"
"child" => "12"
"teen" => "18"
]
+nights: 4
+chambers: []
+stay_rooms: array:1 [
0 => App\DTO\RoomStayDTO {#1599
-marginRate: 20
-id: 59
-name: "Deluxe Penthouse"
-slug: "deluxe-penthouse"
-picture: "/uploads/rooms/59/6718e3f8aded0024241338.jpg"
-description: """
Enveloppés d'un délicat tissu blanc, le lit king size à baldaquin, la lampe suspendue au plafond voûté en bois, le mobilier sur mesure, les larges fenêtres et portes terrasses, créent une atmosphère très chic et intimiste.\r\n
\r\n
La suite spacieuse de 87 m² dispose également d'un espace salon avec un canapé confortable de couleur beige, habillé de coussins blancs et verts pour se reposer ou s'adonner à la vue fondante du lagon bleu turquoise.\r\n
\r\n
Pour profiter de ces moments de tendresse, on peut se détendre sur les transats de la terrasse de 48 m², main dans la main et en sirotant une coupe de champagne bien frais, se détendre dans le bassin profond privé et, apprécier cet après-midi mémorable en contemplant l'océan bleu vers l'infini. …. une véritable expérience des sens……
"""
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 173
-chambersStayDetails: array:1 [
0 => array:3 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-23" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
"2025-03-26" => array:2 [
"adults_price" => 655
"kids_price" => 0
]
]
"amount" => 2620
]
]
-totalRoomAmount: 2620.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:1 [
0 => App\DTO\ExtraStayDTO {#1644
-marginRate: 20
+extraId: 173
+name: "Base Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 2620.0
+totalStayAmountWoDiscount: 2620.0
+totalStayAmount: 2620.0
+finalAmountWoDiscount: 3144.0
+finalAmount: 3144.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
]
}