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 : Coral Azur Beach Resort - Chambre : #225 - CORAL SIGNATURE VUE JARDIN 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 {#1696
+rpId: 2081
+adultsPrice: 195
+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" => 195
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 195
"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" => 225
"room_picture" => "/uploads/rooms/225/675133c7861cd688055795.webp"
"room_name" => "CORAL SIGNATURE VUE JARDIN"
"room_slug" => "coral-signature-vue-jardin"
"room_description" => "La chambre Standard avec vue sur le jardin de l’hôtel est l’endroit idéal si vous cherchez le calme et la tranquillité. Sur votre terrasse, vous n’entendrez que le chant des oiseaux. La suite est dotée d’un lit double, mais vous avez la possibilité de demander un troisième et quatrième lit avec supplément"
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 2081
"adult_amount" => 780
"children_amount" => 0
"basis_amount" => 780
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 195
"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: 225
-name: "CORAL SIGNATURE VUE JARDIN"
-slug: "coral-signature-vue-jardin"
-picture: "/uploads/rooms/225/675133c7861cd688055795.webp"
-description: "La chambre Standard avec vue sur le jardin de l’hôtel est l’endroit idéal si vous cherchez le calme et la tranquillité. Sur votre terrasse, vous n’entendrez que le chant des oiseaux. La suite est dotée d’un lit double, mais vous avez la possibilité de demander un troisième et quatrième lit avec supplément"
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 192
-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" => 195
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
]
"amount" => 780
]
]
-totalRoomAmount: 780.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:2 [
0 => App\DTO\ExtraStayDTO {#1652
-marginRate: 20
+extraId: 192
+name: "Base Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 780.0
+totalStayAmountWoDiscount: 780.0
+totalStayAmount: 780.0
+finalAmountWoDiscount: 936.0
+finalAmount: 936.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1576
-marginRate: 20
+extraId: 193
+name: "Déjeuner"
+description: null
+stayTotalNights: 4
+dailyAdults: 30
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 120
+kidsExtrasAmount: 0
+stayExtrasAmount: 120
+stayRoomAmount: 780.0
+totalStayAmountWoDiscount: 900.0
+totalStayAmount: 900.0
+finalAmountWoDiscount: 1080.0
+finalAmount: 1080.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 {#1853
-elements: array:1 [
0 => App\Entity\Offers {#1832
-id: 107
-title: "Coral Azur"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027
-id: 40
-name: "Coral Azur Beach Resort"
-description: """
Situé sur une plage de l'océan Indien, à proximité de la célèbre plage de Trou aux Biches, ce complexe de style décontracté est aménagé dans des jardins tropicaux luxuriants. Il se trouve à 67 km de l'aéroport international Sir Seewoosagur Ramgoolam.\r\n
\r\n
Pourvues d'un balcon ou d'une terrasse avec vue sur l'océan ou le jardin, les chambres conviviales disposent d'une télévision à écran plat, d'un mini-frigo et d'un coffre-fort. Les chambres de catégorie supérieure comprennent en outre un minibar avec une quantité limitée de boissons gratuites.\r\n
\r\n
Les activités pour enfants et le parking sont gratuits. L'établissement possède une plage privée, une piscine extérieure donnant sur l'océan, un centre de plongée, un court de tennis et 2 bains à remous. Il propose également 4 restaurants et un bar, ainsi que des services de massage, des cours de voile et des croisières en bateau à fond de verre.
"""
-website: "http://allons-maurice.com"
-stars: 3
-youtubeVideoId: null
-phone: "+230 265 6070"
-email: "backoffice@coralazur.com"
-active: true
-gmapUrl: null
-zone: "Ouest"
-createdAt: DateTimeImmutable @1723108187 {#1019
date: 2024-08-08 09:09:47.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733389273 {#1050
date: 2024-12-05 09:01:13.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1024
#collection: Doctrine\Common\Collections\ArrayCollection {#1023
-elements: array:1 [
0 => App\Entity\Rooms {#1047
-id: 225
-name: "CORAL SIGNATURE VUE JARDIN"
-description: "La chambre Standard avec vue sur le jardin de l’hôtel est l’endroit idéal si vous cherchez le calme et la tranquillité. Sur votre terrasse, vous n’entendrez que le chant des oiseaux. La suite est dotée d’un lit double, mais vous avez la possibilité de demander un troisième et quatrième lit avec supplément"
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1670
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 2081
-title: "Coral Signature Vue jardin - Moyenne Saison (copie)"
-room: App\Entity\Rooms {#1047}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736424000 {#1647
date: 2025-01-09 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: "195.00"
-singleOccupancy: "160.00"
-tripleOccupancy: "235.00"
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: null
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1083
#collection: Doctrine\Common\Collections\ArrayCollection {#1180
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#904 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1144 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1040
#collection: Doctrine\Common\Collections\ArrayCollection {#1042
-elements: array:18 [
0 => App\Entity\RoomCapacities {#1717
-id: 2763
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 2764
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1618
-id: 2765
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1600
-id: 2766
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1601
-id: 2767
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1723
-id: 2768
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1724
-id: 2769
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1688
-id: 2770
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1728
-id: 2771
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#1799
-id: 2772
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#1658
-id: 2773
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#1679
-id: 2774
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#1625
-id: 2775
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#1430
-id: 2776
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#1588
-id: 2777
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#1707
-id: 3463
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#1709
-id: 3464
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
17 => App\Entity\RoomCapacities {#1705
-id: 3465
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:18 [ …18]
-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 @1723108337 {#1012
date: 2024-08-08 09:12:17.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733389319 {#1031
date: 2024-12-05 09:01:59.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "675133c7861cd688055795.webp"
-gallery: App\Entity\Galleries {#1290
-id: 215
-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: "Coral Azur vue jardin"
}
-mediaDirSlug: "225"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "coral-signature-vue-jardin"
}
]
}
#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: "B36, Trou-aux-Biches, Maurice"
-checkInTime: null
-checkOutTime: null
-babyAgeMax: "3"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:4 [
0 => App\Entity\ExtraCharges {#1644
-id: 192
-title: "Base Demi pension"
-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}
}
1 => App\Entity\ExtraCharges {#1639
-id: 193
-title: "Déjeuner"
-description: null
-adultExtra: 15.0
-babyExtra: null
-childExtra: 8.0
-teenExtra: 15.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
2 => App\Entity\ExtraCharges {#1638
-id: 194
-title: "Suppléments repas de Noêl"
-description: null
-adultExtra: 85.0
-babyExtra: null
-childExtra: 43.0
-teenExtra: 85.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1661
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1624
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 {#1793
-id: 195
-title: "Nouvel An"
-description: null
-adultExtra: 95.0
-babyExtra: null
-childExtra: 48.0
-teenExtra: 95.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1631
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1795
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-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: "67513399a0ead666779435.webp"
-gallery: App\Entity\Galleries {#1251
-id: 214
-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: "Coral Azur"
}
-mediaDirSlug: null
-offers: Doctrine\Common\Collections\ArrayCollection {#1853}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "coral-azur-beach-resort"
}
-description: null
-stayStartAt: DateTimeImmutable @1736294400 {#1828
date: 2025-01-08 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1829
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1717200000 {#1830
date: 2024-06-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1831
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "EarlyBooking"
-minNights: null
-maxNights: null
-earlyBookingDays: 45
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1833
#collection: Doctrine\Common\Collections\ArrayCollection {#1834
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1832}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 10
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1835
#collection: Doctrine\Common\Collections\ArrayCollection {#1836
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1832}
-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 {#1837
#collection: Doctrine\Common\Collections\ArrayCollection {#1838
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1832}
-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 {#1839
#collection: Doctrine\Common\Collections\ArrayCollection {#1840
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1832}
-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 {#1841
#collection: Doctrine\Common\Collections\ArrayCollection {#1842
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1832}
-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 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;
}
"107 - Coral Azur(nb jours: 45)"
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) {
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" => 40
"picture_path" => "/uploads/hotels/40/67513399a0ead666779435.webp"
"hotel_name" => "Coral Azur Beach Resort"
"room_id" => 225
"room_name" => "CORAL SIGNATURE VUE JARDIN"
"from" => "22/03/2025"
"to" => "26/03/2025"
"nights" => 4
"neededRooms" => 1
"adults" => 2
"children" => 0
"totalAmount" => 780.0
"totalAmountDiscounted" => null
"mandatoryExtraId" => 192
"extra" => App\DTO\ExtraStayDTO {#1652
-marginRate: 20
+extraId: 192
+name: "Base Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 780.0
+totalStayAmountWoDiscount: 780.0
+totalStayAmount: 780.0
+finalAmountWoDiscount: 936.0
+finalAmount: 936.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
"specialExtra" => []
"discounts" => []
"error" => []
]
1 in
HomeController.php
line 84:
'config_chambers' => ($siteSession->getSessionVar('search/chambers')) ? json_decode($siteSession->getSessionVar('search/chambers')) : null
];
dump('Search Model booking :', $searchToolsDTO);
$form = $this->createForm(SearchToolsType::class, $searchToolsDTO, $searchTypeOptions);
"Search Model booking :"
2 in
HomeController.php
line 84:
'config_chambers' => ($siteSession->getSessionVar('search/chambers')) ? json_decode($siteSession->getSessionVar('search/chambers')) : null
];
dump('Search Model booking :', $searchToolsDTO);
$form = $this->createForm(SearchToolsType::class, $searchToolsDTO, $searchTypeOptions);
App\DTO\SearchToolsDTO {#802
-date_format: "d/m/Y"
-uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#803
-storage: Vich\UploaderBundle\Storage\FileSystemStorage {#804
#factory: Vich\UploaderBundle\Mapping\PropertyMappingFactory {#805
-metadata: Vich\UploaderBundle\Metadata\MetadataReader {#458
-reader: Metadata\MetadataFactory {#450
-driver: Metadata\Driver\DriverChain {#451
-drivers: array:4 [
0 => Vich\UploaderBundle\Metadata\Driver\XmlDriver {#452
-locator: Metadata\Driver\FileLocator {#449
-dirs: []
}
}
1 => Vich\UploaderBundle\Metadata\Driver\AnnotationDriver {#453
#reader: Vich\UploaderBundle\Metadata\Driver\AttributeReader {#454}
-managerRegistryList: array:1 [
0 => Doctrine\Bundle\DoctrineBundle\Registry {#83
-name: "ORM"
-connections: array:1 [
"default" => "doctrine.dbal.default_connection"
]
-managers: array:1 [
"default" => "doctrine.orm.default_entity_manager"
]
-defaultConnection: "default"
-defaultManager: "default"
-proxyInterfaceName: "Doctrine\Persistence\Proxy"
#container: ContainerUIpB4Xl\App_KernelDevDebugContainer {#42 …20}
}
]
}
2 => Vich\UploaderBundle\Metadata\Driver\YamlDriver {#455
-locator: Metadata\Driver\FileLocator {#449}
}
3 => Vich\UploaderBundle\Metadata\Driver\YmlDriver {#456
-locator: Metadata\Driver\FileLocator {#449}
}
]
}
-cache: Metadata\Cache\FileCache {#457
-dir: "/var/www/vhost/allons-maurice/app/var/cache/dev/vich_uploader"
}
-loadedMetadata: array:5 [
"App\Entity\Rooms" => Metadata\ClassHierarchyMetadata {#1580
+classMetadata: array:1 [
"App\Entity\Rooms" => Vich\UploaderBundle\Metadata\ClassMetadata {#1578
+name: "App\Entity\Rooms"
+methodMetadata: []
+propertyMetadata: []
+fileResources: array:1 [
0 => "/var/www/vhost/allons-maurice/app/src/Entity/Rooms.php"
]
+createdAt: 1738921302
+fields: array:1 [
"imageFile" => array:7 [
"mapping" => "featured_rooms"
"propertyName" => "imageFile"
"fileNameProperty" => "featuredImage"
"size" => null
"mimeType" => null
"originalName" => null
"dimensions" => null
]
]
}
]
}
"App\Entity\Hotels" => Metadata\ClassHierarchyMetadata {#1646
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1616
+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 {#2271
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2272
+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 {#2686
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2687
+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 {#2962
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2961
+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 {#1616}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#2272}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2687}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2961}
]
-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: 40
-name: "Coral Azur Beach Resort"
-description: """
Situé sur une plage de l'océan Indien, à proximité de la célèbre plage de Trou aux Biches, ce complexe de style décontracté est aménagé dans des jardins tropicaux luxuriants. Il se trouve à 67 km de l'aéroport international Sir Seewoosagur Ramgoolam.\r\n
\r\n
Pourvues d'un balcon ou d'une terrasse avec vue sur l'océan ou le jardin, les chambres conviviales disposent d'une télévision à écran plat, d'un mini-frigo et d'un coffre-fort. Les chambres de catégorie supérieure comprennent en outre un minibar avec une quantité limitée de boissons gratuites.\r\n
\r\n
Les activités pour enfants et le parking sont gratuits. L'établissement possède une plage privée, une piscine extérieure donnant sur l'océan, un centre de plongée, un court de tennis et 2 bains à remous. Il propose également 4 restaurants et un bar, ainsi que des services de massage, des cours de voile et des croisières en bateau à fond de verre.
"""
-website: "http://allons-maurice.com"
-stars: 3
-youtubeVideoId: null
-phone: "+230 265 6070"
-email: "backoffice@coralazur.com"
-active: true
-gmapUrl: null
-zone: "Ouest"
-createdAt: DateTimeImmutable @1723108187 {#1019
date: 2024-08-08 09:09:47.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733389273 {#1050
date: 2024-12-05 09:01:13.0 UTC (+00:00)
}
-rooms: Doctrine\ORM\PersistentCollection {#1024
#collection: Doctrine\Common\Collections\ArrayCollection {#1023
-elements: array:1 [
0 => App\Entity\Rooms {#1047
-id: 225
-name: "CORAL SIGNATURE VUE JARDIN"
-description: "La chambre Standard avec vue sur le jardin de l’hôtel est l’endroit idéal si vous cherchez le calme et la tranquillité. Sur votre terrasse, vous n’entendrez que le chant des oiseaux. La suite est dotée d’un lit double, mais vous avez la possibilité de demander un troisième et quatrième lit avec supplément"
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1670
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 2081
-title: "Coral Signature Vue jardin - Moyenne Saison (copie)"
-room: App\Entity\Rooms {#1047}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736424000 {#1647
date: 2025-01-09 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: "195.00"
-singleOccupancy: "160.00"
-tripleOccupancy: "235.00"
-active: true
-extraBaby: null
-extraChild: null
-extraTeen: null
-defaultExtraLabel: null
}
]
}
-stopSales: Doctrine\ORM\PersistentCollection {#1083
#collection: Doctrine\Common\Collections\ArrayCollection {#1180
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Rooms {#1047}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#904 …}
-backRefFieldName: "room"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1144 …}
}
-roomCapacities: Doctrine\ORM\PersistentCollection {#1040
#collection: Doctrine\Common\Collections\ArrayCollection {#1042
-elements: array:18 [
0 => App\Entity\RoomCapacities {#1717
-id: 2763
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 2764
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1618
-id: 2765
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1600
-id: 2766
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1601
-id: 2767
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: 1
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1723
-id: 2768
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: 1
-isDefaultConfig: false
}
6 => App\Entity\RoomCapacities {#1724
-id: 2769
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
7 => App\Entity\RoomCapacities {#1688
-id: 2770
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 2
-children: null
-babies: null
-isDefaultConfig: false
}
8 => App\Entity\RoomCapacities {#1728
-id: 2771
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
9 => App\Entity\RoomCapacities {#1799
-id: 2772
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
10 => App\Entity\RoomCapacities {#1658
-id: 2773
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
11 => App\Entity\RoomCapacities {#1679
-id: 2774
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
12 => App\Entity\RoomCapacities {#1625
-id: 2775
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
13 => App\Entity\RoomCapacities {#1430
-id: 2776
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
14 => App\Entity\RoomCapacities {#1588
-id: 2777
-room: App\Entity\Rooms {#1047}
-adults: 3
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
15 => App\Entity\RoomCapacities {#1707
-id: 3463
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 2
-babies: null
-isDefaultConfig: false
}
16 => App\Entity\RoomCapacities {#1709
-id: 3464
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: 2
-isDefaultConfig: false
}
17 => App\Entity\RoomCapacities {#1705
-id: 3465
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: 1
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:18 [ …18]
-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 @1723108337 {#1012
date: 2024-08-08 09:12:17.0 UTC (+00:00)
}
-updatedAt: DateTimeImmutable @1733389319 {#1031
date: 2024-12-05 09:01:59.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "675133c7861cd688055795.webp"
-gallery: App\Entity\Galleries {#1290
-id: 215
-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 {#2438
-id: 849
-title: null
-imageFile: null
-imageName: "6751354abab75460865978.webp"
-size: 385234
-type: "image/webp"
-dimensions: array:2 [
0 => 3000
1 => 2002
]
-updatedAt: DateTimeImmutable @1733375306 {#2461
date: 2024-12-05 05:08:26.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
1 => App\Entity\Images {#2476
-id: 850
-title: null
-imageFile: null
-imageName: "6751354abb8ff036291622.webp"
-size: 1754474
-type: "image/webp"
-dimensions: array:2 [
0 => 3000
1 => 2002
]
-updatedAt: DateTimeImmutable @1733375306 {#2449
date: 2024-12-05 05:08:26.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
2 => App\Entity\Images {#2480
-id: 851
-title: null
-imageFile: null
-imageName: "6751354abcd90509885454.webp"
-size: 1041024
-type: "image/webp"
-dimensions: array:2 [
0 => 3000
1 => 2002
]
-updatedAt: DateTimeImmutable @1733375306 {#2479
date: 2024-12-05 05:08:26.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: "Coral Azur vue jardin"
}
-mediaDirSlug: "225"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "coral-signature-vue-jardin"
}
]
}
#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: "B36, Trou-aux-Biches, Maurice"
-checkInTime: null
-checkOutTime: null
-babyAgeMax: "3"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:4 [
0 => App\Entity\ExtraCharges {#1644
-id: 192
-title: "Base Demi pension"
-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}
}
1 => App\Entity\ExtraCharges {#1639
-id: 193
-title: "Déjeuner"
-description: null
-adultExtra: 15.0
-babyExtra: null
-childExtra: 8.0
-teenExtra: 15.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
2 => App\Entity\ExtraCharges {#1638
-id: 194
-title: "Suppléments repas de Noêl"
-description: null
-adultExtra: 85.0
-babyExtra: null
-childExtra: 43.0
-teenExtra: 85.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1661
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1624
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 {#1793
-id: 195
-title: "Nouvel An"
-description: null
-adultExtra: 95.0
-babyExtra: null
-childExtra: 48.0
-teenExtra: 95.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1631
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1795
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-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: "67513399a0ead666779435.webp"
-gallery: App\Entity\Galleries {#1251
-id: 214
-hotel: App\Entity\Hotels {#1027}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1264
#collection: Doctrine\Common\Collections\ArrayCollection {#1263
-elements: array:4 [
0 => App\Entity\Images {#2286
-id: 845
-title: null
-imageFile: null
-imageName: "675134b6d42fb506969841.webp"
-size: 1805998
-type: "image/webp"
-dimensions: array:2 [
0 => 3000
1 => 2002
]
-updatedAt: DateTimeImmutable @1733375158 {#2285
date: 2024-12-05 05:05:58.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
1 => App\Entity\Images {#2277
-id: 846
-title: null
-imageFile: null
-imageName: "675134b6d5e6e764542252.webp"
-size: 1191120
-type: "image/webp"
-dimensions: array:2 [
0 => 3000
1 => 2002
]
-updatedAt: DateTimeImmutable @1733375158 {#2278
date: 2024-12-05 05:05:58.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
2 => App\Entity\Images {#2275
-id: 847
-title: null
-imageFile: null
-imageName: "675134b6d6a6f670599097.webp"
-size: 1813254
-type: "image/webp"
-dimensions: array:2 [
0 => 3000
1 => 2000
]
-updatedAt: DateTimeImmutable @1733375158 {#2276
date: 2024-12-05 05:05:58.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
3 => App\Entity\Images {#2273
-id: 848
-title: null
-imageFile: null
-imageName: "675134b6d77d1017124965.webp"
-size: 998238
-type: "image/webp"
-dimensions: array:2 [
0 => 3000
1 => 2002
]
-updatedAt: DateTimeImmutable @1733375158 {#2274
date: 2024-12-05 05:05:58.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:4 [ …4]
-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: "Coral Azur"
}
-mediaDirSlug: "40"
-offers: Doctrine\Common\Collections\ArrayCollection {#1853
-elements: array:1 [
0 => App\Entity\Offers {#1832
-id: 107
-title: "Coral Azur"
-type: "EarlyBooking"
-hotel: App\Entity\Hotels {#1027}
-description: null
-stayStartAt: DateTimeImmutable @1736294400 {#1828
date: 2025-01-08 00:00:00.0 UTC (+00:00)
}
-stayEndAt: DateTimeImmutable @1761868800 {#1829
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-bookingStartAt: DateTimeImmutable @1717200000 {#1830
date: 2024-06-01 00:00:00.0 UTC (+00:00)
}
-bookingEndAt: DateTimeImmutable @1761868800 {#1831
date: 2025-10-31 00:00:00.0 UTC (+00:00)
}
-reference: "EarlyBooking"
-minNights: null
-maxNights: null
-earlyBookingDays: 45
-applyToAllRooms: true
-selectedRooms: Doctrine\ORM\PersistentCollection {#1833
#collection: Doctrine\Common\Collections\ArrayCollection {#1834
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1832}
-association: Doctrine\ORM\Mapping\ManyToManyOwningSideMapping {#1329 …}
-backRefFieldName: null
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#881 …}
}
-discount: 10
-combinable: false
-selectedOffers: Doctrine\ORM\PersistentCollection {#1835
#collection: Doctrine\Common\Collections\ArrayCollection {#1836
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1832}
-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 {#1837
#collection: Doctrine\Common\Collections\ArrayCollection {#1838
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1832}
-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 {#1839
#collection: Doctrine\Common\Collections\ArrayCollection {#1840
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1832}
-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 {#1841
#collection: Doctrine\Common\Collections\ArrayCollection {#1842
-elements: []
}
#initialized: false
-snapshot: []
-owner: App\Entity\Offers {#1832}
-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
}
]
}
-highlighted: false
-services: array:1 [
0 => ""
]
-hlStartAt: null
-hlEndAt: null
-slug: "coral-azur-beach-resort"
}
+stars: null
+dateRange: "22/03/2025 - 26/03/2025"
+fromAt: DateTimeImmutable @1742601600 {#3145
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#3144
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: 225
-name: "CORAL SIGNATURE VUE JARDIN"
-slug: "coral-signature-vue-jardin"
-picture: "/uploads/rooms/225/675133c7861cd688055795.webp"
-description: "La chambre Standard avec vue sur le jardin de l’hôtel est l’endroit idéal si vous cherchez le calme et la tranquillité. Sur votre terrasse, vous n’entendrez que le chant des oiseaux. La suite est dotée d’un lit double, mais vous avez la possibilité de demander un troisième et quatrième lit avec supplément"
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 192
-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" => 195
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 195
"kids_price" => 0
]
]
"amount" => 780
]
]
-totalRoomAmount: 780.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:2 [
0 => App\DTO\ExtraStayDTO {#1652
-marginRate: 20
+extraId: 192
+name: "Base Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 780.0
+totalStayAmountWoDiscount: 780.0
+totalStayAmount: 780.0
+finalAmountWoDiscount: 936.0
+finalAmount: 936.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1576
-marginRate: 20
+extraId: 193
+name: "Déjeuner"
+description: null
+stayTotalNights: 4
+dailyAdults: 30
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 120
+kidsExtrasAmount: 0
+stayExtrasAmount: 120
+stayRoomAmount: 780.0
+totalStayAmountWoDiscount: 900.0
+totalStayAmount: 900.0
+finalAmountWoDiscount: 1080.0
+finalAmount: 1080.0
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
]
}