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 : Ocean's Creek - Chambre : #223 - Family Suite 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 {#1695
+rpId: 1549
+adultsPrice: 520
+childrenPrice: 0
+startAt: DateTimeImmutable @1734912000 {#1464
date: 2024-12-23 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1735343940 {#1450
date: 2024-12-27 23:59:00.0 UTC (+00:00)
}
}
]
1 in
SearchToolsDTO.php
line 954:
$prices_wo_extras = $this->parseDailyPrices($roomPricesDatesAndPrice);
if ($this->debug) {
dump('parseDailyPrices() -> Parsed daily prices', $prices_wo_extras);
}
if (!$prices_wo_extras) {
"parseDailyPrices() -> Parsed daily prices"
2 in
SearchToolsDTO.php
line 954:
$prices_wo_extras = $this->parseDailyPrices($roomPricesDatesAndPrice);
if ($this->debug) {
dump('parseDailyPrices() -> Parsed daily prices', $prices_wo_extras);
}
if (!$prices_wo_extras) {
array:4 [
"2024-12-23" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2024-12-24" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2024-12-25" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2024-12-26" => array:2 [
"adults_price" => 520
"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" => 223
"room_picture" => "/uploads/rooms/223/673363b48f435422160255.jpg"
"room_name" => "Family Suite"
"room_slug" => "family-suite"
"room_description" => "Notre suite familiale s'étend sur plus de 59 m², ce qui en fait une excellente option pour les familles qui souhaitent passer leurs vacances ensemble. La suite offre la commodité de deux espaces de couchage séparés, garantissant l'intimité de chacun tout en offrant un espace partagé pour passer de bons moments en famille."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1549
"adult_amount" => 2080
"children_amount" => 0
"basis_amount" => 2080
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2024-12-23" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2024-12-24" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2024-12-25" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2024-12-26" => array:2 [
"adults_price" => 520
"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: 223
-name: "Family Suite"
-slug: "family-suite"
-picture: "/uploads/rooms/223/673363b48f435422160255.jpg"
-description: "Notre suite familiale s'étend sur plus de 59 m², ce qui en fait une excellente option pour les familles qui souhaitent passer leurs vacances ensemble. La suite offre la commodité de deux espaces de couchage séparés, garantissant l'intimité de chacun tout en offrant un espace partagé pour passer de bons moments en famille."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 172
-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" => 520
"kids_price" => 0
]
"2024-12-24" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2024-12-25" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2024-12-26" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
]
"amount" => 2080
]
]
-totalStayAmount: 2080.0
-totalRoomAmountDiscounted: null
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#1649
+extraId: 172
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 300
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2380.0
+totalStayAmount: 2380.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: array:2 [
0 => App\DTO\ExtraStayDTO {#1723
+extraId: 62
+name: "Suppléments repas Noêl demi-pension/Tout compris"
+description: null
+stayTotalNights: null
+dailyAdults: 120
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 120
+kidsExtrasAmount: 0
+stayExtrasAmount: 120
+stayRoomAmount: null
+totalStayAmountWoDiscount: null
+totalStayAmount: null
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: DateTimeImmutable @1734998400 {#1636
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
+extraEndAt: DateTimeImmutable @1735084800 {#1629
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
+eventDuration: 1
+events: []
}
1 => App\DTO\ExtraStayDTO {#1748
+extraId: 59
+name: "Suppléments repas Noêl Bed&Breakfast"
+description: null
+stayTotalNights: null
+dailyAdults: 180
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 180
+kidsExtrasAmount: 0
+stayExtrasAmount: 180
+stayRoomAmount: null
+totalStayAmountWoDiscount: null
+totalStayAmount: null
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: DateTimeImmutable @1734998400 {#1574
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
+extraEndAt: DateTimeImmutable @1735084800 {#1659
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
+eventDuration: 1
+events: []
}
]
}
1 => App\DTO\ExtraStayDTO {#1637
+extraId: 56
+name: "Suppléments repas Demi-pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 60
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 240
+kidsExtrasAmount: 0
+stayExtrasAmount: 540
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2620.0
+totalStayAmount: 2620.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: array:2 [
0 => App\DTO\ExtraStayDTO {#1723}
1 => App\DTO\ExtraStayDTO {#1748}
]
}
2 => App\DTO\ExtraStayDTO {#1743
+extraId: 58
+name: "Suppléments repas Tout compris"
+description: null
+stayTotalNights: 4
+dailyAdults: 160
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 640
+kidsExtrasAmount: 0
+stayExtrasAmount: 940
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 3020.0
+totalStayAmount: 3020.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: array:2 [
0 => App\DTO\ExtraStayDTO {#1723}
1 => App\DTO\ExtraStayDTO {#1748}
]
}
]
-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 {#1896
-elements: array:1 [
0 => App\Entity\Offers {#1875
-id: 54
-title: "OCEANS CREEK MEAL PLAN UPGRADE OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1025
-id: 15
-name: "Ocean's Creek"
-description: "Faisant partie du Shanti Hospitality Group, Ocean's Creek Beach Hotel est niché sur la côte nord-est de l'île Maurice, près de Balaclava. Grâce à son emplacement stratégique, l'hôtel est accessible dans toutes les régions de Maurice, découvrant la culture et la nature de l'île. L'hôtel offre une vue splendide sur la rivières Tombeau et la plage du Goulet, offrant un chaleureux coucher de soleil en fin de journée. Avec 365 jours de divertissement polyvalent, Ocean's Creek garantit une expérience client dynamique avec son équipe."
-website: "https://oceanscreekmauritius.com/"
-stars: 4
-youtubeVideoId: "7J_3Dc-wAGg"
-phone: "+230 651 5800"
-email: "info@oceanscreekmauritius.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3746.6547924796564!2d57.516245312172714!3d-20.106712381243952!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217c536cd78e90a3%3A0xd895ce7f104b003a!2sOcean's%20Creek!5e0!3m2!1sfr!2sfr!4v1718969283916!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: 223
-name: "Family Suite"
-description: "Notre suite familiale s'étend sur plus de 59 m², ce qui en fait une excellente option pour les familles qui souhaitent passer leurs vacances ensemble. La suite offre la commodité de deux espaces de couchage séparés, garantissant l'intimité de chacun tout en offrant un espace partagé pour passer de bons moments en famille."
-active: true
-hotel: App\Entity\Hotels {#1025}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1681
-elements: array:1 [
0 => App\Entity\RoomPrices {#1717
-id: 1549
-title: "Family Suite"
-room: App\Entity\Rooms {#1045}
-quantity: null
-stayStartedAt: DateTimeImmutable @1734868800 {#1645
date: 2024-12-22 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735905600 {#1654
date: 2025-01-03 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1720
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1735689540 {#1719
date: 2024-12-31 23:59:00.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "520.00"
-singleOccupancy: "520.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: 50.0
-extraTeen: 80.0
-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:18 [
0 => App\Entity\RoomCapacities {#1728
-id: 1840
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1651
-id: 1841
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1726
-id: 1842
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1428
-id: 1843
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1598
-id: 1844
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1686
-id: 1845
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1721
-id: 1846
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1599
-id: 1847
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: 1
-children: 1
-babies: 1
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1677
-id: 1848
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: 1
-children: 2
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#1722
-id: 1849
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#1797
-id: 1850
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#1623
-id: 1851
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#1656
-id: 1852
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#1600
-id: 1853
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#1582
-id: 1854
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#1706
-id: 1855
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#1708
-id: 1856
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
17 => App\Entity\RoomCapacities {#1704
-id: 1857
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:18 [ …18]
-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 @1721748743 {#1010
date: 2024-07-23 15:32:23.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1731435508 {#1029
date: 2024-11-12 18:18:28.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "673363b48f435422160255.jpg"
-gallery: App\Entity\Galleries {#1288
-id: 203
-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: "oceans creek family suite"
}
-mediaDirSlug: "223"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "family-suite"
}
]
}
#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 Le Goulet, Balaclava, Île Maurice"
-checkInTime: null
-checkOutTime: null
-babyAgeMax: "3"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1182
#collection: Doctrine\Common\Collections\ArrayCollection {#1176
-elements: array:7 [
0 => App\Entity\ExtraCharges {#1643
-id: 56
-title: "Suppléments repas Demi-pension"
-description: null
-adultExtra: 30.0
-babyExtra: null
-childExtra: 15.0
-teenExtra: 30.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
1 => App\Entity\ExtraCharges {#1652
-id: 58
-title: "Suppléments repas Tout compris"
-description: null
-adultExtra: 80.0
-babyExtra: null
-childExtra: 40.0
-teenExtra: 60.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
2 => App\Entity\ExtraCharges {#1622
-id: 59
-title: "Suppléments repas Noêl Bed&Breakfast"
-description: null
-adultExtra: 90.0
-babyExtra: null
-childExtra: 45.0
-teenExtra: 90.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1574
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1659
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
3 => App\Entity\ExtraCharges {#1793
-id: 62
-title: "Suppléments repas Noêl demi-pension/Tout compris"
-description: null
-adultExtra: 60.0
-babyExtra: null
-childExtra: 30.0
-teenExtra: 60.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1636
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1629
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
4 => App\Entity\ExtraCharges {#1779
-id: 63
-title: "Suppléments repas Nouvel An Bed&Breakfast"
-description: null
-adultExtra: 120.0
-babyExtra: null
-childExtra: 60.0
-teenExtra: 120.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1791
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1785
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
5 => App\Entity\ExtraCharges {#1760
-id: 65
-title: "Suppléments repas Nouvel An demi-pension/Tout compris"
-description: null
-adultExtra: 90.0
-babyExtra: null
-childExtra: 45.0
-teenExtra: 90.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1772
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1766
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
6 => App\Entity\ExtraCharges {#1754
-id: 172
-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:7 [ …7]
-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: "66603d5c48ff0011028287.webp"
-gallery: App\Entity\Galleries {#1249
-id: 182
-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: "Ocean's creek"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1896}
-highlighted: null
-services: null
-hlStartAt: null
-hlEndAt: null
-slug: "ocean-s-creek"
}
-description: null
-stayStartAt: DateTimeImmutable @1725148800 {#1871
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1745971200 {#1872
date: 2025-04-30 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1725148800 {#1873
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1730332800 {#1874
date: 2024-10-31 00:00:00.0 UTC (+00:00)
}
-reference: null
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1876
#collection: Doctrine\Common\Collections\ArrayCollection {#1877
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1875}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1327 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-discount: 25
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1878
#collection: Doctrine\Common\Collections\ArrayCollection {#1879
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1875}
-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 {#1880
#collection: Doctrine\Common\Collections\ArrayCollection {#1881
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1875}
-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 {#1882
#collection: Doctrine\Common\Collections\ArrayCollection {#1883
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1875}
-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 {#1884
#collection: Doctrine\Common\Collections\ArrayCollection {#1885
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1875}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1345 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-extrasDiscount: "100.00"
-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;
}
"54 - OCEANS CREEK MEAL PLAN UPGRADE 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) {
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" => 15
"picture_path" => "/uploads/hotels/15/66603d5c48ff0011028287.webp"
"hotel_name" => "Ocean's Creek"
"room_id" => 223
"room_name" => "Family Suite"
"from" => "23/12/2024"
"to" => "27/12/2024"
"nights" => 4
"neededRooms" => 1
"adults" => 2
"children" => 0
"totalAmount" => 2080.0
"totalAmountDiscounted" => null
"mandatoryExtraId" => 172
"extra" => App\DTO\ExtraStayDTO {#1649
+extraId: 172
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 300
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2380.0
+totalStayAmount: 2380.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: array:2 [
0 => App\DTO\ExtraStayDTO {#1723
+extraId: 62
+name: "Suppléments repas Noêl demi-pension/Tout compris"
+description: null
+stayTotalNights: null
+dailyAdults: 120
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 120
+kidsExtrasAmount: 0
+stayExtrasAmount: 120
+stayRoomAmount: null
+totalStayAmountWoDiscount: null
+totalStayAmount: null
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: DateTimeImmutable @1734998400 {#1636
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
+extraEndAt: DateTimeImmutable @1735084800 {#1629
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
+eventDuration: 1
+events: []
}
1 => App\DTO\ExtraStayDTO {#1748
+extraId: 59
+name: "Suppléments repas Noêl Bed&Breakfast"
+description: null
+stayTotalNights: null
+dailyAdults: 180
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 180
+kidsExtrasAmount: 0
+stayExtrasAmount: 180
+stayRoomAmount: null
+totalStayAmountWoDiscount: null
+totalStayAmount: null
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: DateTimeImmutable @1734998400 {#1574
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
+extraEndAt: DateTimeImmutable @1735084800 {#1659
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
+eventDuration: 1
+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 {#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 {#1744
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1642
+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 {#2336
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2337
+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 {#2747
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2748
+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 {#3021
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3020
+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 {#1642}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2337}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2748}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3020}
]
-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: 15
-name: "Ocean's Creek"
-description: "Faisant partie du Shanti Hospitality Group, Ocean's Creek Beach Hotel est niché sur la côte nord-est de l'île Maurice, près de Balaclava. Grâce à son emplacement stratégique, l'hôtel est accessible dans toutes les régions de Maurice, découvrant la culture et la nature de l'île. L'hôtel offre une vue splendide sur la rivières Tombeau et la plage du Goulet, offrant un chaleureux coucher de soleil en fin de journée. Avec 365 jours de divertissement polyvalent, Ocean's Creek garantit une expérience client dynamique avec son équipe."
-website: "https://oceanscreekmauritius.com/"
-stars: 4
-youtubeVideoId: "7J_3Dc-wAGg"
-phone: "+230 651 5800"
-email: "info@oceanscreekmauritius.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3746.6547924796564!2d57.516245312172714!3d-20.106712381243952!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217c536cd78e90a3%3A0xd895ce7f104b003a!2sOcean's%20Creek!5e0!3m2!1sfr!2sfr!4v1718969283916!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: 223
-name: "Family Suite"
-description: "Notre suite familiale s'étend sur plus de 59 m², ce qui en fait une excellente option pour les familles qui souhaitent passer leurs vacances ensemble. La suite offre la commodité de deux espaces de couchage séparés, garantissant l'intimité de chacun tout en offrant un espace partagé pour passer de bons moments en famille."
-active: true
-hotel: App\Entity\Hotels {#1025}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1681
-elements: array:1 [
0 => App\Entity\RoomPrices {#1717
-id: 1549
-title: "Family Suite"
-room: App\Entity\Rooms {#1045}
-quantity: null
-stayStartedAt: DateTimeImmutable @1734868800 {#1645
date: 2024-12-22 12:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735905600 {#1654
date: 2025-01-03 12:00:00.0 UTC (+00:00)
}
-saleStartedAt: DateTimeImmutable @1725148800 {#1720
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-saleEndedAt: DateTimeImmutable @1735689540 {#1719
date: 2024-12-31 23:59:00.0 UTC (+00:00)
}
-minNights: 1
-doubleOccupancy: "520.00"
-singleOccupancy: "520.00"
-tripleOccupancy: null
-active: true
-extraBaby: null
-extraChild: 50.0
-extraTeen: 80.0
-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:18 [
0 => App\Entity\RoomCapacities {#1728
-id: 1840
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1651
-id: 1841
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1726
-id: 1842
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1428
-id: 1843
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1598
-id: 1844
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1686
-id: 1845
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1721
-id: 1846
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1599
-id: 1847
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: 1
-children: 1
-babies: 1
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1677
-id: 1848
-room: App\Entity\Rooms {#1045}
-adults: 1
-teens: 1
-children: 2
-babies: 1
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#1722
-id: 1849
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#1797
-id: 1850
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#1623
-id: 1851
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#1656
-id: 1852
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#1600
-id: 1853
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#1582
-id: 1854
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: null
-children: 2
-babies: 1
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#1706
-id: 1855
-room: App\Entity\Rooms {#1045}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#1708
-id: 1856
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
17 => App\Entity\RoomCapacities {#1704
-id: 1857
-room: App\Entity\Rooms {#1045}
-adults: 2
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:18 [ …18]
-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 @1721748743 {#1010
date: 2024-07-23 15:32:23.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1731435508 {#1029
date: 2024-11-12 18:18:28.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "673363b48f435422160255.jpg"
-gallery: App\Entity\Galleries {#1288
-id: 203
-hotel: null
-room: App\Entity\Rooms {#1045}
-images: Doctrine\ORM\PersistentCollection {#1353
#collection: Doctrine\Common\Collections\ArrayCollection {#1354
-elements: array:3 [
0 => App\Entity\Images {#2499
-id: 805
-title: null
-imageFile: null
-imageName: "673cdb9423bdb984621786.jpg"
-size: 243834
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1024
1 => 682
]
-updatedAt: DateTimeImmutable @1732041620 {#2522
date: 2024-11-19 18:40:20.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
1 => App\Entity\Images {#2537
-id: 806
-title: null
-imageFile: null
-imageName: "673cdb94241e0442303539.jpg"
-size: 261944
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1024
1 => 680
]
-updatedAt: DateTimeImmutable @1732041620 {#2510
date: 2024-11-19 18:40:20.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
2 => App\Entity\Images {#2541
-id: 807
-title: null
-imageFile: null
-imageName: "673cdb9424578951976203.jpg"
-size: 288236
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1024
1 => 682
]
-updatedAt: DateTimeImmutable @1732041620 {#2540
date: 2024-11-19 18:40:20.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1288}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-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: "oceans creek family suite"
}
-mediaDirSlug: "223"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "family-suite"
}
]
}
#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 Le Goulet, Balaclava, Île Maurice"
-checkInTime: null
-checkOutTime: null
-babyAgeMax: "3"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1182
#collection: Doctrine\Common\Collections\ArrayCollection {#1176
-elements: array:7 [
0 => App\Entity\ExtraCharges {#1643
-id: 56
-title: "Suppléments repas Demi-pension"
-description: null
-adultExtra: 30.0
-babyExtra: null
-childExtra: 15.0
-teenExtra: 30.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
1 => App\Entity\ExtraCharges {#1652
-id: 58
-title: "Suppléments repas Tout compris"
-description: null
-adultExtra: 80.0
-babyExtra: null
-childExtra: 40.0
-teenExtra: 60.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
2 => App\Entity\ExtraCharges {#1622
-id: 59
-title: "Suppléments repas Noêl Bed&Breakfast"
-description: null
-adultExtra: 90.0
-babyExtra: null
-childExtra: 45.0
-teenExtra: 90.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1574
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1659
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
3 => App\Entity\ExtraCharges {#1793
-id: 62
-title: "Suppléments repas Noêl demi-pension/Tout compris"
-description: null
-adultExtra: 60.0
-babyExtra: null
-childExtra: 30.0
-teenExtra: 60.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1636
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1629
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
4 => App\Entity\ExtraCharges {#1779
-id: 63
-title: "Suppléments repas Nouvel An Bed&Breakfast"
-description: null
-adultExtra: 120.0
-babyExtra: null
-childExtra: 60.0
-teenExtra: 120.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1791
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1785
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
5 => App\Entity\ExtraCharges {#1760
-id: 65
-title: "Suppléments repas Nouvel An demi-pension/Tout compris"
-description: null
-adultExtra: 90.0
-babyExtra: null
-childExtra: 45.0
-teenExtra: 90.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1772
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1766
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1025}
}
6 => App\Entity\ExtraCharges {#1754
-id: 172
-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:7 [ …7]
-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: "66603d5c48ff0011028287.webp"
-gallery: App\Entity\Galleries {#1249
-id: 182
-hotel: App\Entity\Hotels {#1025}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1262
#collection: Doctrine\Common\Collections\ArrayCollection {#1261
-elements: array:3 [
0 => App\Entity\Images {#2349
-id: 459
-title: null
-imageFile: null
-imageName: "670fb826d6b51872277606.jpg"
-size: 688073
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1729
1 => 1016
]
-updatedAt: DateTimeImmutable @1729083430 {#2348
date: 2024-10-16 12:57:10.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
1 => App\Entity\Images {#2340
-id: 460
-title: null
-imageFile: null
-imageName: "670fb826d75d5360370932.jpg"
-size: 535941
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1318
1 => 987
]
-updatedAt: DateTimeImmutable @1729083430 {#2341
date: 2024-10-16 12:57:10.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
2 => App\Entity\Images {#2338
-id: 461
-title: null
-imageFile: null
-imageName: "670fb826d7bb5982605122.jpg"
-size: 912916
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1745
1 => 1163
]
-updatedAt: DateTimeImmutable @1729083430 {#2339
date: 2024-10-16 12:57:10.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1249}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-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: "Ocean's creek"
}
-mediaDirSlug: "15"
-offers: Doctrine\Common\Collections\ArrayCollection {#1896
-elements: array:1 [
0 => App\Entity\Offers {#1875
-id: 54
-title: "OCEANS CREEK MEAL PLAN UPGRADE OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1025}
-description: null
-stayStartAt: DateTimeImmutable @1725148800 {#1871
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1745971200 {#1872
date: 2025-04-30 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1725148800 {#1873
date: 2024-09-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1730332800 {#1874
date: 2024-10-31 00:00:00.0 UTC (+00:00)
}
-reference: null
-minNights: null
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1876
#collection: Doctrine\Common\Collections\ArrayCollection {#1877
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1875}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1327 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#879 …}
}
-discount: 25
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1878
#collection: Doctrine\Common\Collections\ArrayCollection {#1879
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1875}
-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 {#1880
#collection: Doctrine\Common\Collections\ArrayCollection {#1881
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1875}
-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 {#1882
#collection: Doctrine\Common\Collections\ArrayCollection {#1883
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1875}
-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 {#1884
#collection: Doctrine\Common\Collections\ArrayCollection {#1885
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1875}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1345 …}
-backRefFieldName: null
-isDirty: false
-em: Container3wbxnxo\EntityManagerGhost614a58f {#68 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1186 …}
}
-extrasDiscount: "100.00"
-priority: 1
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
]
}
-highlighted: null
-services: null
-hlStartAt: null
-hlEndAt: null
-slug: "ocean-s-creek"
}
+stars: null
+dateRange: "23/12/2024 - 27/12/2024"
+fromAt: DateTimeImmutable @1734912000 {#3204
date: 2024-12-23 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1735343940 {#3203
date: 2024-12-27 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => "3"
"child" => "12"
"teen" => "18"
]
+nights: 4
+chambers: []
+stay_rooms: array:1 [
0 => App\DTO\RoomStayDTO {#1580
-id: 223
-name: "Family Suite"
-slug: "family-suite"
-picture: "/uploads/rooms/223/673363b48f435422160255.jpg"
-description: "Notre suite familiale s'étend sur plus de 59 m², ce qui en fait une excellente option pour les familles qui souhaitent passer leurs vacances ensemble. La suite offre la commodité de deux espaces de couchage séparés, garantissant l'intimité de chacun tout en offrant un espace partagé pour passer de bons moments en famille."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 172
-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" => 520
"kids_price" => 0
]
"2024-12-24" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2024-12-25" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
"2024-12-26" => array:2 [
"adults_price" => 520
"kids_price" => 0
]
]
"amount" => 2080
]
]
-totalStayAmount: 2080.0
-totalRoomAmountDiscounted: null
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#1649
+extraId: 172
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 300
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2380.0
+totalStayAmount: 2380.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: array:2 [
0 => App\DTO\ExtraStayDTO {#1723
+extraId: 62
+name: "Suppléments repas Noêl demi-pension/Tout compris"
+description: null
+stayTotalNights: null
+dailyAdults: 120
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 120
+kidsExtrasAmount: 0
+stayExtrasAmount: 120
+stayRoomAmount: null
+totalStayAmountWoDiscount: null
+totalStayAmount: null
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: DateTimeImmutable @1734998400 {#1636}
+extraEndAt: DateTimeImmutable @1735084800 {#1629}
+eventDuration: 1
+events: []
}
1 => App\DTO\ExtraStayDTO {#1748
+extraId: 59
+name: "Suppléments repas Noêl Bed&Breakfast"
+description: null
+stayTotalNights: null
+dailyAdults: 180
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 180
+kidsExtrasAmount: 0
+stayExtrasAmount: 180
+stayRoomAmount: null
+totalStayAmountWoDiscount: null
+totalStayAmount: null
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: DateTimeImmutable @1734998400 {#1574}
+extraEndAt: DateTimeImmutable @1735084800 {#1659}
+eventDuration: 1
+events: []
}
]
}
1 => App\DTO\ExtraStayDTO {#1637
+extraId: 56
+name: "Suppléments repas Demi-pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 60
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 240
+kidsExtrasAmount: 0
+stayExtrasAmount: 540
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 2620.0
+totalStayAmount: 2620.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: array:2 [
0 => App\DTO\ExtraStayDTO {#1723}
1 => App\DTO\ExtraStayDTO {#1748}
]
}
2 => App\DTO\ExtraStayDTO {#1743
+extraId: 58
+name: "Suppléments repas Tout compris"
+description: null
+stayTotalNights: 4
+dailyAdults: 160
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 640
+kidsExtrasAmount: 0
+stayExtrasAmount: 940
+stayRoomAmount: 2080.0
+totalStayAmountWoDiscount: 3020.0
+totalStayAmount: 3020.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: array:2 [
0 => App\DTO\ExtraStayDTO {#1723}
1 => App\DTO\ExtraStayDTO {#1748}
]
}
]
-specialExtras: []
-discounts: []
-error: []
}
]
}