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 : Ocean's Creek - Chambre : #86 - Comfort 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 {#1709
+rpId: 1532
+adultsPrice: 210
+childrenPrice: 0
+startAt: DateTimeImmutable @1742601600 {#1466
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+endAt: DateTimeImmutable @1743033540 {#1452
date: 2025-03-26 23:59:00.0 UTC (+00:00)
}
}
]
1 in
RoomStayCalculation.php
line 481:
$prices_wo_extras = $this->parseDailyPrices($roomPricesDatesAndPrice);
if ($this->debug) {
dump('parseDailyPrices() -> Parsed daily prices', $prices_wo_extras);
}
if (!$prices_wo_extras) {
"parseDailyPrices() -> Parsed daily prices"
2 in
RoomStayCalculation.php
line 481:
$prices_wo_extras = $this->parseDailyPrices($roomPricesDatesAndPrice);
if ($this->debug) {
dump('parseDailyPrices() -> Parsed daily prices', $prices_wo_extras);
}
if (!$prices_wo_extras) {
array:4 [
"2025-03-22" => array:2 [
"adults_price" => 210
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 210
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 210
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 210
"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" => 86
"room_picture" => "/uploads/rooms/86/666bd83f01060777447590.jpg"
"room_name" => "Comfort"
"room_slug" => "ocean-s-creek-comfort"
"room_description" => "La chambre Confort, d'une superficie de 34 m², est une option d'hébergement adaptée aux voyageurs seuls ou aux couples soucieux de leur budget. Nous avons créé cet espace en pensant à vous, à la recherche de l'équilibre parfait entre confort et style, nécessaire à vos vacances de rêve, votre lune de miel ou votre voyage d'affaires à l'île Maurice."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1532
"adult_amount" => 840
"children_amount" => 0
"basis_amount" => 840
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 210
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 210
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 210
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 210
"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: 86
-name: "Comfort"
-slug: "ocean-s-creek-comfort"
-picture: "/uploads/rooms/86/666bd83f01060777447590.jpg"
-description: "La chambre Confort, d'une superficie de 34 m², est une option d'hébergement adaptée aux voyageurs seuls ou aux couples soucieux de leur budget. Nous avons créé cet espace en pensant à vous, à la recherche de l'équilibre parfait entre confort et style, nécessaire à vos vacances de rêve, votre lune de miel ou votre voyage d'affaires à l'île Maurice."
-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 [
"2025-03-22" => array:2 [
"adults_price" => 210
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 210
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 210
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 210
"kids_price" => 0
]
]
"amount" => 840
]
]
-totalRoomAmount: 840.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#1626
-marginRate: 20
+extraId: 172
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 840.0
+totalStayAmountWoDiscount: 840.0
+totalStayAmount: 840.0
+finalAmountWoDiscount: 1008.0
+finalAmount: 1008.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1645
-marginRate: 20
+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: 240
+stayRoomAmount: 840.0
+totalStayAmountWoDiscount: 1080.0
+totalStayAmount: 1080.0
+finalAmountWoDiscount: 1296.0
+finalAmount: 1296.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1795
-marginRate: 20
+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: 640
+stayRoomAmount: 840.0
+totalStayAmountWoDiscount: 1480.0
+totalStayAmount: 1480.0
+finalAmountWoDiscount: 1776.0
+finalAmount: 1776.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 {#1928
-elements: array:4 [
0 => App\Entity\Offers {#1862
-id: 195
-title: "Super Early Bird Offer"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027
-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 {#1019
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672825 {#1050
date: 2024-10-23 08:40:25.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1024
#collection: Doctrine\Common\Collections\ArrayCollection {#1023
-elements: array:1 [
0 => App\Entity\Rooms {#1047
-id: 86
-name: "Comfort"
-description: "La chambre Confort, d'une superficie de 34 m², est une option d'hébergement adaptée aux voyageurs seuls ou aux couples soucieux de leur budget. Nous avons créé cet espace en pensant à vous, à la recherche de l'équilibre parfait entre confort et style, nécessaire à vos vacances de rêve, votre lune de miel ou votre voyage d'affaires à l'île Maurice."
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1675
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 1532
-title: "Comfort"
-room: App\Entity\Rooms {#1047}
-quantity: null
-stayStartedAt: DateTimeImmutable @1735992000 {#1647
date: 2025-01-04 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: 1
-doubleOccupancy: "210.00"
-singleOccupancy: "210.00"
-tripleOccupancy: "80.00"
-active: true
-extraBaby: null
-extraChild: 50.0
-extraTeen: 80.0
-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:8 [
0 => App\Entity\RoomCapacities {#1717
-id: 1786
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 1787
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1618
-id: 1788
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1600
-id: 1789
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1601
-id: 3466
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1723
-id: 3467
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1724
-id: 3468
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1688
-id: 3469
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:8 [ …8]
-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 @1733392562 {#1031
date: 2024-12-05 09:56:02.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd83f01060777447590.jpg"
-gallery: App\Entity\Galleries {#1290
-id: 174
-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: "Ocean's creek charme"
}
-mediaDirSlug: "86"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "ocean-s-creek-comfort"
}
]
}
#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 Le Goulet, Balaclava, Île Maurice"
-checkInTime: null
-checkOutTime: null
-babyAgeMax: "3"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:7 [
0 => App\Entity\ExtraCharges {#1636
-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 {#1027}
}
1 => App\Entity\ExtraCharges {#1643
-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 {#1027}
}
2 => App\Entity\ExtraCharges {#1648
-id: 59
-title: "Suppléments repas Noêl"
-description: null
-adultExtra: 120.0
-babyExtra: null
-childExtra: 60.0
-teenExtra: 120.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1644
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1646
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
3 => App\Entity\ExtraCharges {#1651
-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 {#1649
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1650
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: false
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
4 => App\Entity\ExtraCharges {#1639
-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 {#1652
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1654
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: false
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
5 => App\Entity\ExtraCharges {#1624
-id: 65
-title: "Suppléments repas Nouvel An"
-description: null
-adultExtra: 90.0
-babyExtra: null
-childExtra: 45.0
-teenExtra: 90.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1576
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1661
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
6 => App\Entity\ExtraCharges {#1638
-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 {#1027}
}
]
}
#initialized: true
-snapshot: array:7 [ …7]
-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: "66603d5c48ff0011028287.webp"
-gallery: App\Entity\Galleries {#1251
-id: 182
-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: "Ocean's creek"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1928}
-highlighted: null
-services: null
-hlStartAt: null
-hlEndAt: null
-slug: "ocean-s-creek"
}
-description: null
-stayStartAt: DateTimeImmutable @1730419200 {#1858
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1859
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1860
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1861
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Super Early Bird Offer"
-minNights: null
-maxNights: null
-earlyBookingDays: 60
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1863
#collection: Doctrine\Common\Collections\ArrayCollection {#1864
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1862}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1865
#collection: Doctrine\Common\Collections\ArrayCollection {#1866
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1862}
-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 {#1867
#collection: Doctrine\Common\Collections\ArrayCollection {#1868
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1862}
-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 {#1869
#collection: Doctrine\Common\Collections\ArrayCollection {#1870
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1862}
-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 {#1871
#collection: Doctrine\Common\Collections\ArrayCollection {#1872
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1862}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1877
-id: 196
-title: "Early Bird Offer"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1730419200 {#1873
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1874
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1875
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1876
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Early Bird Offer"
-minNights: null
-maxNights: null
-earlyBookingDays: 30
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1878
#collection: Doctrine\Common\Collections\ArrayCollection {#1879
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1877}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 25
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1880
#collection: Doctrine\Common\Collections\ArrayCollection {#1881
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1877}
-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 {#1882
#collection: Doctrine\Common\Collections\ArrayCollection {#1883
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1877}
-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 {#1884
#collection: Doctrine\Common\Collections\ArrayCollection {#1885
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1877}
-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 {#1886
#collection: Doctrine\Common\Collections\ArrayCollection {#1887
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1877}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
2 => App\Entity\Offers {#1892
-id: 198
-title: "Last Minute Offer"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1735948800 {#1888
date: 2025-01-04 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1889
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1890
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1891
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Last Minute Offer"
-minNights: null
-maxNights: null
-earlyBookingDays: 1
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1893
#collection: Doctrine\Common\Collections\ArrayCollection {#1894
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1892}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1895
#collection: Doctrine\Common\Collections\ArrayCollection {#1896
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1892}
-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 {#1897
#collection: Doctrine\Common\Collections\ArrayCollection {#1898
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1892}
-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 {#1899
#collection: Doctrine\Common\Collections\ArrayCollection {#1900
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1892}
-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 {#1901
#collection: Doctrine\Common\Collections\ArrayCollection {#1902
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1892}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
3 => App\Entity\Offers {#1907
-id: 256
-title: "PEAK OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1736121600 {#1903
date: 2025-01-06 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1766275200 {#1904
date: 2025-12-21 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1734480000 {#1905
date: 2024-12-18 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1740700800 {#1906
date: 2025-02-28 00:00:00.0 UTC (+00:00)
}
-reference: "OC_Peak24"
-minNights: 1
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1908
#collection: Doctrine\Common\Collections\ArrayCollection {#1909
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1907}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 35
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1910
#collection: Doctrine\Common\Collections\ArrayCollection {#1911
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1907}
-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 {#1912
#collection: Doctrine\Common\Collections\ArrayCollection {#1913
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1907}
-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 {#1914
#collection: Doctrine\Common\Collections\ArrayCollection {#1915
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1907}
-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 {#1916
#collection: Doctrine\Common\Collections\ArrayCollection {#1917
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1907}
-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 546:
// if booking not respect the interval skip this offer - format('%a') return a string of the diff days, need to convert to integer value
if (intval($booking_interval->format('%a')) < $offer_earlybookingDays) {
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle() . '(nb jours: ' . $offer_earlybookingDays . ')', 'Early booking date interval failure. (début séjour dans '.$booking_interval->format('%a').' jours.)');
}
return $this;
}
"195 - Super Early Bird Offer(nb jours: 60)"
2 in
PromotionDTO.php
line 546:
// if booking not respect the interval skip this offer - format('%a') return a string of the diff days, need to convert to integer value
if (intval($booking_interval->format('%a')) < $offer_earlybookingDays) {
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle() . '(nb jours: ' . $offer_earlybookingDays . ')', 'Early booking date interval failure. (début séjour dans '.$booking_interval->format('%a').' jours.)');
}
return $this;
}
"Early booking date interval failure. (début séjour dans 27 jours.)"
1 in
PromotionDTO.php
line 546:
// if booking not respect the interval skip this offer - format('%a') return a string of the diff days, need to convert to integer value
if (intval($booking_interval->format('%a')) < $offer_earlybookingDays) {
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle() . '(nb jours: ' . $offer_earlybookingDays . ')', 'Early booking date interval failure. (début séjour dans '.$booking_interval->format('%a').' jours.)');
}
return $this;
}
"196 - Early Bird Offer(nb jours: 30)"
2 in
PromotionDTO.php
line 546:
// if booking not respect the interval skip this offer - format('%a') return a string of the diff days, need to convert to integer value
if (intval($booking_interval->format('%a')) < $offer_earlybookingDays) {
if ($this->debug) {
dump($offer->getId() .' - ' . $offer->getTitle() . '(nb jours: ' . $offer_earlybookingDays . ')', 'Early booking date interval failure. (début séjour dans '.$booking_interval->format('%a').' jours.)');
}
return $this;
}
"Early booking date interval failure. (début séjour dans 27 jours.)"
1 in
RoomStayCalculation.php
line 246:
$validOffers = $this->getValidOffers($hotel->getOffers());
if ($this->debug) {
dump('Step 1. Offres valides : ', $validOffers);
}
if ($validOffers == null) {
"Step 1. Offres valides : "
2 in
RoomStayCalculation.php
line 246:
$validOffers = $this->getValidOffers($hotel->getOffers());
if ($this->debug) {
dump('Step 1. Offres valides : ', $validOffers);
}
if ($validOffers == null) {
array:2 [
0 => App\DTO\PromotionDTO {#2171
-debug: true
+id: 256
+title: "PEAK OFFER"
+description: null
+type: "Special"
+reference: "OC_Peak24"
+from: DateTimeImmutable @1736121600 {#1903
date: 2025-01-06 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1766275200 {#1904
date: 2025-12-21 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: null
+minNights: 1
+maxNights: null
+discountRate: 35
+discountFamilyRates: []
+combinableRate: null
+priority: 1
+extrasDiscountRate: null
+isAllRooms: true
+isCombinable: false
+selectedRoomsIDs: []
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
1 => App\DTO\PromotionDTO {#2168
-debug: true
+id: 198
+title: "Last Minute Offer"
+description: null
+type: "EarlyBooking"
+reference: "Last Minute Offer"
+from: DateTimeImmutable @1735948800 {#1888
date: 2025-01-04 00:00:00.0 UTC (+00:00)
}
+to: DateTimeImmutable @1761868800 {#1889
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
+earlyBookingDays: 1
+minNights: null
+maxNights: null
+discountRate: 20
+discountFamilyRates: []
+combinableRate: null
+priority: 2
+extrasDiscountRate: null
+isAllRooms: true
+isCombinable: false
+selectedRoomsIDs: []
+selectedExtrasIDs: []
+selectedOffersIDs: []
+selectedExtrasDiscountIDs: []
}
]
1 in
HotelController.php
line 638:
$formBookingHidden->handleRequest($request);
// dump("Session vars:", $siteSession->allVars());
dump("Current Room Price:", $roomRate);
return $this->render('room/show.html.twig', [
'room' => $room,
"Current Room Price:"
2 in
HotelController.php
line 638:
$formBookingHidden->handleRequest($request);
// dump("Session vars:", $siteSession->allVars());
dump("Current Room Price:", $roomRate);
return $this->render('room/show.html.twig', [
'room' => $room,
array:18 [
"hotel_id" => 15
"picture_path" => "/uploads/hotels/15/66603d5c48ff0011028287.webp"
"hotel_name" => "Ocean's Creek"
"room_id" => 86
"room_name" => "Comfort"
"from" => "22/03/2025"
"to" => "26/03/2025"
"nights" => 4
"neededRooms" => 1
"adults" => 2
"children" => 0
"totalAmount" => 840.0
"totalAmountDiscounted" => 546.0
"mandatoryExtraId" => 172
"extra" => App\DTO\ExtraStayDTO {#1626
-marginRate: 20
+extraId: 172
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 546.0
+totalStayAmountWoDiscount: 840.0
+totalStayAmount: 546.0
+finalAmountWoDiscount: 1008.0
+finalAmount: 655.2
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
"specialExtra" => []
"discounts" => array:1 [
0 => array:14 [
"id" => 256
"title" => "PEAK OFFER"
"description" => null
"reference" => "OC_Peak24"
"type" => "Special"
"rate" => 35
"extra_rate" => null
"start" => "06/01/2025"
"end" => "21/12/2025"
"kids_rate" => ""
"partial" => false
"selected_rooms" => []
"stayroom_amount_before" => 840.0
"stayroom_amount_after" => 546.0
]
]
"error" => []
]
1 in
HomeController.php
line 84:
'config_chambers' => ($siteSession->getSessionVar('search/chambers')) ? json_decode($siteSession->getSessionVar('search/chambers')) : null
];
dump('Search Model booking :', $searchToolsDTO);
$form = $this->createForm(SearchToolsType::class, $searchToolsDTO, $searchTypeOptions);
"Search Model booking :"
2 in
HomeController.php
line 84:
'config_chambers' => ($siteSession->getSessionVar('search/chambers')) ? json_decode($siteSession->getSessionVar('search/chambers')) : null
];
dump('Search Model booking :', $searchToolsDTO);
$form = $this->createForm(SearchToolsType::class, $searchToolsDTO, $searchTypeOptions);
App\DTO\SearchToolsDTO {#802
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#803
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#804
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#805
-metadata: Vich\UploaderBundle\Metadata\MetadataReader {#458
-reader: Metadata\MetadataFactory {#450
-driver: Metadata\Driver\DriverChain {#451
-drivers: array:4 [
0 => Vich\UploaderBundle\Metadata\Driver\XmlDriver {#452
-locator: Metadata\Driver\FileLocator {#449
-dirs: []
}
}
1 => Vich\UploaderBundle\Metadata\Driver\AnnotationDriver {#453
#reader: Vich\UploaderBundle\Metadata\Driver\AttributeReader {#454}
-managerRegistryList: array:1 [
0 => Doctrine\Bundle\DoctrineBundle\Registry {#83
-name: "ORM"
-connections: array:1 [
"default" => "doctrine.dbal.default_connection"
]
-managers: array:1 [
"default" => "doctrine.orm.default_entity_manager"
]
-defaultConnection: "default"
-defaultManager: "default"
-proxyInterfaceName: "Doctrine\Persistence\Proxy"
#container: ContainerUIpB4Xl\App_KernelDevDebugContainer {#42 …20}
}
]
}
2 => Vich\UploaderBundle\Metadata\Driver\YamlDriver {#455
-locator: Metadata\Driver\FileLocator {#449}
}
3 => Vich\UploaderBundle\Metadata\Driver\YmlDriver {#456
-locator: Metadata\Driver\FileLocator {#449}
}
]
}
-cache: Metadata\Cache\FileCache {#457
-dir: "/var/www/vhost/allons-maurice/app/var/cache/dev/vich_uploader"
}
-loadedMetadata: array:5 [
"App\Entity\Rooms" => Metadata\ClassHierarchyMetadata {#1580
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1578
+name: "App\Entity\Rooms"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Rooms.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_rooms"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Hotels" => Metadata\ClassHierarchyMetadata {#1633
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1664
+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 {#2469
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2470
+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 {#2878
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2879
+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 {#3150
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3149
+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 {#1664}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2470}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2879}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#3149}
]
-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: 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 {#1019
date: 2024-04-26 15:37:34.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1729672825 {#1050
date: 2024-10-23 08:40:25.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1024
#collection: Doctrine\Common\Collections\ArrayCollection {#1023
-elements: array:1 [
0 => App\Entity\Rooms {#1047
-id: 86
-name: "Comfort"
-description: "La chambre Confort, d'une superficie de 34 m², est une option d'hébergement adaptée aux voyageurs seuls ou aux couples soucieux de leur budget. Nous avons créé cet espace en pensant à vous, à la recherche de l'équilibre parfait entre confort et style, nécessaire à vos vacances de rêve, votre lune de miel ou votre voyage d'affaires à l'île Maurice."
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1675
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 1532
-title: "Comfort"
-room: App\Entity\Rooms {#1047}
-quantity: null
-stayStartedAt: DateTimeImmutable @1735992000 {#1647
date: 2025-01-04 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: 1
-doubleOccupancy: "210.00"
-singleOccupancy: "210.00"
-tripleOccupancy: "80.00"
-active: true
-extraBaby: null
-extraChild: 50.0
-extraTeen: 80.0
-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:8 [
0 => App\Entity\RoomCapacities {#1717
-id: 1786
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 1787
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1618
-id: 1788
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1600
-id: 1789
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1601
-id: 3466
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1723
-id: 3467
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1724
-id: 3468
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1688
-id: 3469
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:8 [ …8]
-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 @1733392562 {#1031
date: 2024-12-05 09:56:02.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "666bd83f01060777447590.jpg"
-gallery: App\Entity\Galleries {#1290
-id: 174
-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 {#2630
-id: 387
-title: null
-imageFile: null
-imageName: "666bd8dc4866e794446150.jpg"
-size: 260166
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1920
1 => 1080
]
-updatedAt: DateTimeImmutable @1718343900 {#2653
date: 2024-06-14 05:45:00.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
1 => App\Entity\Images {#2668
-id: 791
-title: null
-imageFile: null
-imageName: "673cda4e08fb9844646651.jpg"
-size: 263596
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1024
1 => 576
]
-updatedAt: DateTimeImmutable @1732041294 {#2641
date: 2024-11-19 18:34:54.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
2 => App\Entity\Images {#2672
-id: 792
-title: null
-imageFile: null
-imageName: "673cda4e0999c523965794.jpg"
-size: 288236
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1024
1 => 682
]
-updatedAt: DateTimeImmutable @1732041294 {#2671
date: 2024-11-19 18:34:54.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: "Ocean's creek charme"
}
-mediaDirSlug: "86"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "ocean-s-creek-comfort"
}
]
}
#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 Le Goulet, Balaclava, Île Maurice"
-checkInTime: null
-checkOutTime: null
-babyAgeMax: "3"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:7 [
0 => App\Entity\ExtraCharges {#1636
-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 {#1027}
}
1 => App\Entity\ExtraCharges {#1643
-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 {#1027}
}
2 => App\Entity\ExtraCharges {#1648
-id: 59
-title: "Suppléments repas Noêl"
-description: null
-adultExtra: 120.0
-babyExtra: null
-childExtra: 60.0
-teenExtra: 120.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1644
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1646
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
3 => App\Entity\ExtraCharges {#1651
-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 {#1649
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1650
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: false
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
4 => App\Entity\ExtraCharges {#1639
-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 {#1652
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1654
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: false
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
5 => App\Entity\ExtraCharges {#1624
-id: 65
-title: "Suppléments repas Nouvel An"
-description: null
-adultExtra: 90.0
-babyExtra: null
-childExtra: 45.0
-teenExtra: 90.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1576
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1661
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
6 => App\Entity\ExtraCharges {#1638
-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 {#1027}
}
]
}
#initialized: true
-snapshot: array:7 [ …7]
-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: "66603d5c48ff0011028287.webp"
-gallery: App\Entity\Galleries {#1251
-id: 182
-hotel: App\Entity\Hotels {#1027}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1264
#collection: Doctrine\Common\Collections\ArrayCollection {#1263
-elements: array:3 [
0 => App\Entity\Images {#2482
-id: 459
-title: null
-imageFile: null
-imageName: "670fb826d6b51872277606.jpg"
-size: 688073
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1729
1 => 1016
]
-updatedAt: DateTimeImmutable @1729083430 {#2481
date: 2024-10-16 12:57:10.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
1 => App\Entity\Images {#2473
-id: 460
-title: null
-imageFile: null
-imageName: "670fb826d75d5360370932.jpg"
-size: 535941
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1318
1 => 987
]
-updatedAt: DateTimeImmutable @1729083430 {#2474
date: 2024-10-16 12:57:10.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
2 => App\Entity\Images {#2471
-id: 461
-title: null
-imageFile: null
-imageName: "670fb826d7bb5982605122.jpg"
-size: 912916
-type: "image/jpeg"
-dimensions: array:2 [
0 => 1745
1 => 1163
]
-updatedAt: DateTimeImmutable @1729083430 {#2472
date: 2024-10-16 12:57:10.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:3 [ …3]
-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: "Ocean's creek"
}
-mediaDirSlug: "15"
-offers: Doctrine\Common\Collections\ArrayCollection {#1928
-elements: array:4 [
0 => App\Entity\Offers {#1862
-id: 195
-title: "Super Early Bird Offer"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1730419200 {#1858
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1859
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1860
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1861
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Super Early Bird Offer"
-minNights: null
-maxNights: null
-earlyBookingDays: 60
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1863
#collection: Doctrine\Common\Collections\ArrayCollection {#1864
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1862}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 30
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1865
#collection: Doctrine\Common\Collections\ArrayCollection {#1866
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1862}
-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 {#1867
#collection: Doctrine\Common\Collections\ArrayCollection {#1868
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1862}
-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 {#1869
#collection: Doctrine\Common\Collections\ArrayCollection {#1870
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1862}
-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 {#1871
#collection: Doctrine\Common\Collections\ArrayCollection {#1872
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1862}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
1 => App\Entity\Offers {#1877
-id: 196
-title: "Early Bird Offer"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1730419200 {#1873
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1874
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1875
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1876
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Early Bird Offer"
-minNights: null
-maxNights: null
-earlyBookingDays: 30
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1878
#collection: Doctrine\Common\Collections\ArrayCollection {#1879
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1877}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 25
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1880
#collection: Doctrine\Common\Collections\ArrayCollection {#1881
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1877}
-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 {#1882
#collection: Doctrine\Common\Collections\ArrayCollection {#1883
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1877}
-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 {#1884
#collection: Doctrine\Common\Collections\ArrayCollection {#1885
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1877}
-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 {#1886
#collection: Doctrine\Common\Collections\ArrayCollection {#1887
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1877}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
2 => App\Entity\Offers {#1892
-id: 198
-title: "Last Minute Offer"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1735948800 {#1888
date: 2025-01-04 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1889
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1730419200 {#1890
date: 2024-11-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1891
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "Last Minute Offer"
-minNights: null
-maxNights: null
-earlyBookingDays: 1
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1893
#collection: Doctrine\Common\Collections\ArrayCollection {#1894
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1892}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 20
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1895
#collection: Doctrine\Common\Collections\ArrayCollection {#1896
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1892}
-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 {#1897
#collection: Doctrine\Common\Collections\ArrayCollection {#1898
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1892}
-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 {#1899
#collection: Doctrine\Common\Collections\ArrayCollection {#1900
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1892}
-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 {#1901
#collection: Doctrine\Common\Collections\ArrayCollection {#1902
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1892}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1347 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1188 …}
}
-extrasDiscount: null
-priority: 2
-discountKids1: null
-discountKids2: null
-discountKids3: null
}
3 => App\Entity\Offers {#1907
-id: 256
-title: "PEAK OFFER"
-type: "Special"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1736121600 {#1903
date: 2025-01-06 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1766275200 {#1904
date: 2025-12-21 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1734480000 {#1905
date: 2024-12-18 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1740700800 {#1906
date: 2025-02-28 00:00:00.0 UTC (+00:00)
}
-reference: "OC_Peak24"
-minNights: 1
-maxNights: null
-earlyBookingDays: null
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1908
#collection: Doctrine\Common\Collections\ArrayCollection {#1909
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1907}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 35
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1910
#collection: Doctrine\Common\Collections\ArrayCollection {#1911
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1907}
-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 {#1912
#collection: Doctrine\Common\Collections\ArrayCollection {#1913
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1907}
-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 {#1914
#collection: Doctrine\Common\Collections\ArrayCollection {#1915
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1907}
-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 {#1916
#collection: Doctrine\Common\Collections\ArrayCollection {#1917
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Offers {#1907}
-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: null
-services: null
-hlStartAt: null
-hlEndAt: null
-slug: "ocean-s-creek"
}
+stars: null
+dateRange: "22/03/2025 - 26/03/2025"
+fromAt: DateTimeImmutable @1742601600 {#3333
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#3332
date: 2025-03-26 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 {#1599
-marginRate: 20
-id: 86
-name: "Comfort"
-slug: "ocean-s-creek-comfort"
-picture: "/uploads/rooms/86/666bd83f01060777447590.jpg"
-description: "La chambre Confort, d'une superficie de 34 m², est une option d'hébergement adaptée aux voyageurs seuls ou aux couples soucieux de leur budget. Nous avons créé cet espace en pensant à vous, à la recherche de l'équilibre parfait entre confort et style, nécessaire à vos vacances de rêve, votre lune de miel ou votre voyage d'affaires à l'île Maurice."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 172
-chambersStayDetails: array:1 [
0 => array:4 [
"config" => array:4 [
"adults" => 2
"teens" => 0
"children" => 0
"babies" => 0
]
"dates_prices" => array:4 [
"2025-03-22" => array:5 [
"adults_price" => 210
"kids_price" => 0
"adults_discount_price" => 136.5
"kids_discount_price" => 0.0
"discounts" => array:1 [
256 => array:2 [
"name" => "PEAK OFFER"
"rate" => 35
]
]
]
"2025-03-23" => array:5 [
"adults_price" => 210
"kids_price" => 0
"adults_discount_price" => 136.5
"kids_discount_price" => 0.0
"discounts" => array:1 [
256 => array:2 [
"name" => "PEAK OFFER"
"rate" => 35
]
]
]
"2025-03-24" => array:5 [
"adults_price" => 210
"kids_price" => 0
"adults_discount_price" => 136.5
"kids_discount_price" => 0.0
"discounts" => array:1 [
256 => array:2 [
"name" => "PEAK OFFER"
"rate" => 35
]
]
]
"2025-03-25" => array:5 [
"adults_price" => 210
"kids_price" => 0
"adults_discount_price" => 136.5
"kids_discount_price" => 0.0
"discounts" => array:1 [
256 => array:2 [
"name" => "PEAK OFFER"
"rate" => 35
]
]
]
]
"amount" => 840
"amount_discount" => 546.0
]
]
-totalRoomAmount: 840.0
-totalRoomAmountDiscounted: 546.0
-marginTotalRoom: 1008.0
-marginTotalRoomDiscounted: 655.2
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#1626
-marginRate: 20
+extraId: 172
+name: "BASE - PETIT DEJEUNER"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 546.0
+totalStayAmountWoDiscount: 840.0
+totalStayAmount: 546.0
+finalAmountWoDiscount: 1008.0
+finalAmount: 655.2
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1645
-marginRate: 20
+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: 240
+stayRoomAmount: 546.0
+totalStayAmountWoDiscount: 1080.0
+totalStayAmount: 786.0
+finalAmountWoDiscount: 1296.0
+finalAmount: 943.2
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1795
-marginRate: 20
+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: 640
+stayRoomAmount: 546.0
+totalStayAmountWoDiscount: 1480.0
+totalStayAmount: 1186.0
+finalAmountWoDiscount: 1776.0
+finalAmount: 1423.2
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: array:1 [
0 => array:14 [
"id" => 256
"title" => "PEAK OFFER"
"description" => null
"reference" => "OC_Peak24"
"type" => "Special"
"rate" => 35
"extra_rate" => null
"start" => "06/01/2025"
"end" => "21/12/2025"
"kids_rate" => ""
"partial" => false
"selected_rooms" => []
"stayroom_amount_before" => 840.0
"stayroom_amount_after" => 546.0
]
]
-error: []
}
]
}