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 : Anelia Resort & Spa - Chambre : #47 - Supérieur 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 {#1588
+rpId: 1812
+adultsPrice: 176
+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" => 176
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 176
"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" => 47
"room_picture" => "/uploads/rooms/47/673362248ff08812827645.jpg"
"room_name" => "Supérieur"
"room_slug" => "superieur"
"room_description" => "Avec un nouveau design et un nouvel agencement, nos Chambres Supérieures offrent le confort ultime et une vue unique sur le Jardin ou une vue partielle sur la mer ou sur la piscine principale. Ces chambres de 30 m2 sont équipées d'un lit King ou Twin et disposent d'un balcon."
"adults" => 2
"kids" => 0
"teens" => null
"children" => null
"babies" => null
"isCapacity" => true
"prices" => array:7 [
"room_price_id" => 1812
"adult_amount" => 704
"children_amount" => 0
"basis_amount" => 704
"mandatoryExtraId" => null
"default_extra_label" => ""
"dates_prices" => array:4 [
"2025-03-22" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 176
"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: 47
-name: "Supérieur"
-slug: "superieur"
-picture: "/uploads/rooms/47/673362248ff08812827645.jpg"
-description: "Avec un nouveau design et un nouvel agencement, nos Chambres Supérieures offrent le confort ultime et une vue unique sur le Jardin ou une vue partielle sur la mer ou sur la piscine principale. Ces chambres de 30 m2 sont équipées d'un lit King ou Twin et disposent d'un balcon."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 176
-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" => 176
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
]
"amount" => 704
]
]
-totalRoomAmount: 704.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#1622
-marginRate: 20
+extraId: 176
+name: "Base Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 704.0
+totalStayAmountWoDiscount: 704.0
+totalStayAmount: 704.0
+finalAmountWoDiscount: 844.8
+finalAmount: 844.8
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1623
-marginRate: 20
+extraId: 9
+name: "Suppléments repas pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 60
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 240
+kidsExtrasAmount: 0
+stayExtrasAmount: 240
+stayRoomAmount: 704.0
+totalStayAmountWoDiscount: 944.0
+totalStayAmount: 944.0
+finalAmountWoDiscount: 1132.8
+finalAmount: 1132.8
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1652
-marginRate: 20
+extraId: 10
+name: "Supplément repas all inclusive"
+description: null
+stayTotalNights: 4
+dailyAdults: 86
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 344
+kidsExtrasAmount: 0
+stayExtrasAmount: 344
+stayRoomAmount: 704.0
+totalStayAmountWoDiscount: 1048.0
+totalStayAmount: 1048.0
+finalAmountWoDiscount: 1257.6
+finalAmount: 1257.6
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
]
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" => 8
"picture_path" => "/uploads/hotels/8/66965843860d2624962204.jpg"
"hotel_name" => "Anelia Resort & Spa"
"room_id" => 47
"room_name" => "Supérieur"
"from" => "22/03/2025"
"to" => "26/03/2025"
"nights" => 4
"neededRooms" => 1
"adults" => 2
"children" => 0
"totalAmount" => 704.0
"totalAmountDiscounted" => null
"mandatoryExtraId" => 176
"extra" => App\DTO\ExtraStayDTO {#1622
-marginRate: 20
+extraId: 176
+name: "Base Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 704.0
+totalStayAmountWoDiscount: 704.0
+totalStayAmount: 704.0
+finalAmountWoDiscount: 844.8
+finalAmount: 844.8
+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 {#1634
+classMetadata: array:1 [
"App\Entity\Hotels" => Vich\UploaderBundle\Metadata\ClassMetadata {#1662
+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 {#1954
+classMetadata: array:1 [
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#1955
+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 {#2383
+classMetadata: array:1 [
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2384
+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 {#2659
+classMetadata: array:1 [
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2658
+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 {#1662}
"App\Entity\Images" => Vich\UploaderBundle\Metadata\ClassMetadata {#1955}
"App\Entity\Slides" => Vich\UploaderBundle\Metadata\ClassMetadata {#2384}
"App\Entity\Posts" => Vich\UploaderBundle\Metadata\ClassMetadata {#2658}
]
-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: 8
-name: "Anelia Resort & Spa"
-description: "D'une capacité de 141 chambres, Anelia Resort propose une panoplie d'hébergements allant des villas individuelles situées dans un authentique « village créole », aux chambres d'hôtes à l'architecture typiquement mauricienne jusqu'aux nouvelles chambres supérieures conçues dans un style moderne et contemporain. Venez faire à Anelia une découverte captivante où l'ancien se mélange au nouveau et découvrez le développement évolutif de la vie mauricienne au cours du siècle dernier."
-website: "https://aneliaresort.com/"
-stars: 4
-youtubeVideoId: "2zfTu1JYhe8"
-phone: "+230 286 0597"
-email: "info@aneliaresort.com"
-active: true
-gmapUrl: "<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1871.3185168079474!2d57.36995170677597!3d-20.27388269527866!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x217c41580eee2a7b%3A0x9de83d512c0a247d!2sAnelia%20Resort%20%26%20Spa%20Mauritius!5e0!3m2!1sfr!2sfr!4v1718968960541!5m2!1sfr!2sfr" width="100%" height="600" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>"
-zone: "Ouest"
-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: 47
-name: "Supérieur"
-description: "Avec un nouveau design et un nouvel agencement, nos Chambres Supérieures offrent le confort ultime et une vue unique sur le Jardin ou une vue partielle sur la mer ou sur la piscine principale. Ces chambres de 30 m2 sont équipées d'un lit King ou Twin et disposent d'un balcon."
-active: true
-hotel: App\Entity\Hotels {#1027}
-roomPrices: Doctrine\Common\Collections\ArrayCollection {#1689
-elements: array:1 [
0 => App\Entity\RoomPrices {#1719
-id: 1812
-title: "Suppérieur - Haute"
-room: App\Entity\Rooms {#1047}
-quantity: null
-stayStartedAt: DateTimeImmutable @1736078400 {#1647
date: 2025-01-05 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: "176.00"
-singleOccupancy: "150.00"
-tripleOccupancy: null
-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:6 [
0 => App\Entity\RoomCapacities {#1717
-id: 2644
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
1 => App\Entity\RoomCapacities {#1628
-id: 2645
-room: App\Entity\Rooms {#1047}
-adults: 2
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
2 => App\Entity\RoomCapacities {#1618
-id: 2646
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: 1
-children: null
-babies: null
-isDefaultConfig: false
}
3 => App\Entity\RoomCapacities {#1600
-id: 2647
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: 1
-babies: null
-isDefaultConfig: false
}
4 => App\Entity\RoomCapacities {#1601
-id: 2648
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: null
-isDefaultConfig: false
}
5 => App\Entity\RoomCapacities {#1723
-id: 2755
-room: App\Entity\Rooms {#1047}
-adults: 1
-teens: null
-children: null
-babies: 1
-isDefaultConfig: false
}
]
}
#initialized: true
-snapshot: array:6 [ …6]
-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 @1731435108 {#1031
date: 2024-11-12 18:11:48.0 UTC (+00:00)
}
-imageFile: null
-featuredImage: "673362248ff08812827645.jpg"
-gallery: App\Entity\Galleries {#1290
-id: 121
-hotel: null
-room: App\Entity\Rooms {#1047}
-images: Doctrine\ORM\PersistentCollection {#1355
#collection: Doctrine\Common\Collections\ArrayCollection {#1356
-elements: array:5 [
0 => App\Entity\Images {#2127
-id: 258
-title: null
-imageFile: null
-imageName: "6718cbc28fc57524405192.jpg"
-size: 82361
-type: "image/jpeg"
-dimensions: array:2 [
0 => 968
1 => 968
]
-updatedAt: DateTimeImmutable @1729678274 {#2150
date: 2024-10-23 10:11:14.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
1 => App\Entity\Images {#2165
-id: 259
-title: null
-imageFile: null
-imageName: "6718cbc2930f6036372717.jpg"
-size: 73657
-type: "image/jpeg"
-dimensions: array:2 [
0 => 968
1 => 968
]
-updatedAt: DateTimeImmutable @1729678274 {#2138
date: 2024-10-23 10:11:14.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
2 => App\Entity\Images {#2169
-id: 260
-title: null
-imageFile: null
-imageName: "6718cbc2963ec569823572.jpg"
-size: 59842
-type: "image/jpeg"
-dimensions: array:2 [
0 => 968
1 => 968
]
-updatedAt: DateTimeImmutable @1729678274 {#2168
date: 2024-10-23 10:11:14.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
3 => App\Entity\Images {#2172
-id: 645
-title: null
-imageFile: null
-imageName: "6718cbc285fd7069218956.jpg"
-size: 142345
-type: "image/jpeg"
-dimensions: array:2 [
0 => 968
1 => 968
]
-updatedAt: DateTimeImmutable @1729678274 {#2171
date: 2024-10-23 10:11:14.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
4 => App\Entity\Images {#2174
-id: 646
-title: null
-imageFile: null
-imageName: "6718cbc286972511420726.jpg"
-size: 97768
-type: "image/jpeg"
-dimensions: array:2 [
0 => 968
1 => 968
]
-updatedAt: DateTimeImmutable @1729678274 {#2173
date: 2024-10-23 10:11:14.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1290}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-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: "Anelia chambre superieur"
}
-mediaDirSlug: "47"
-lowerRoomPrice: null
-services: array:1 [
0 => ""
]
-slug: "superieur"
}
]
}
#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: "Dolphins Bay Klondike Road, Flic En Flac, Île Maurice"
-checkInTime: "14:00"
-checkOutTime: "11:00"
-babyAgeMax: "5"
-childAgeMax: "12"
-teenAgeMax: "18"
-extraCharges: Doctrine\ORM\PersistentCollection {#1184
#collection: Doctrine\Common\Collections\ArrayCollection {#1178
-elements: array:5 [
0 => App\Entity\ExtraCharges {#1637
-id: 9
-title: "Suppléments repas pension complète"
-description: null
-adultExtra: 30.0
-babyExtra: null
-childExtra: 15.0
-teenExtra: 21.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
1 => App\Entity\ExtraCharges {#1626
-id: 10
-title: "Supplément repas all inclusive"
-description: null
-adultExtra: 43.0
-babyExtra: null
-childExtra: 22.0
-teenExtra: 30.0
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: false
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
2 => App\Entity\ExtraCharges {#1644
-id: 11
-title: "Suppléments repas de Noêl 2024"
-description: null
-adultExtra: 60.0
-babyExtra: null
-childExtra: 30.0
-teenExtra: 42.0
-stayStartedAt: DateTimeImmutable @1734998400 {#1643
date: 2024-12-24 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735084800 {#1645
date: 2024-12-25 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: true
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
3 => App\Entity\ExtraCharges {#1649
-id: 12
-title: "Supplément repas Saint-Sylvestre 2024"
-description: null
-adultExtra: 95.0
-babyExtra: null
-childExtra: 48.0
-teenExtra: 67.0
-stayStartedAt: DateTimeImmutable @1735603200 {#1646
date: 2024-12-31 00:00:00.0 UTC (+00:00)
}
-stayEndedAt: DateTimeImmutable @1735689600 {#1648
date: 2025-01-01 00:00:00.0 UTC (+00:00)
}
-isActive: true
-isMandatory: true
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
4 => App\Entity\ExtraCharges {#1650
-id: 176
-title: "Base Demi pension"
-description: null
-adultExtra: 0.0
-babyExtra: null
-childExtra: null
-teenExtra: null
-stayStartedAt: null
-stayEndedAt: null
-isActive: true
-isMandatory: true
-minNights: null
-hotel: App\Entity\Hotels {#1027}
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-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: "66965843860d2624962204.jpg"
-gallery: App\Entity\Galleries {#1251
-id: 74
-hotel: App\Entity\Hotels {#1027}
-room: null
-images: Doctrine\ORM\PersistentCollection {#1264
#collection: Doctrine\Common\Collections\ArrayCollection {#1263
-elements: array:5 [
0 => App\Entity\Images {#1971
-id: 175
-title: null
-imageFile: null
-imageName: "6662a7acd304b880438278.jpg"
-size: 147211
-type: "image/jpeg"
-dimensions: array:2 [
0 => 968
1 => 968
]
-updatedAt: DateTimeImmutable @1717741484 {#1970
date: 2024-06-07 06:24:44.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
1 => App\Entity\Images {#1962
-id: 176
-title: null
-imageFile: null
-imageName: "6662a7acd36b0892588671.jpg"
-size: 105672
-type: "image/jpeg"
-dimensions: array:2 [
0 => 968
1 => 968
]
-updatedAt: DateTimeImmutable @1717741484 {#1963
date: 2024-06-07 06:24:44.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
2 => App\Entity\Images {#1960
-id: 413
-title: null
-imageFile: null
-imageName: "67053aaa72ee2943219238.jpg"
-size: 140767
-type: "image/jpeg"
-dimensions: array:2 [
0 => 968
1 => 968
]
-updatedAt: DateTimeImmutable @1728395946 {#1961
date: 2024-10-08 13:59:06.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
3 => App\Entity\Images {#1958
-id: 414
-title: null
-imageFile: null
-imageName: "67053aaa73679648061991.jpg"
-size: 128308
-type: "image/jpeg"
-dimensions: array:2 [
0 => 968
1 => 968
]
-updatedAt: DateTimeImmutable @1728395946 {#1959
date: 2024-10-08 13:59:06.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
4 => App\Entity\Images {#1956
-id: 415
-title: null
-imageFile: null
-imageName: "67053aaa739c8321100280.jpg"
-size: 159271
-type: "image/jpeg"
-dimensions: array:2 [
0 => 968
1 => 968
]
-updatedAt: DateTimeImmutable @1728395946 {#1957
date: 2024-10-08 13:59:06.0 UTC (+00:00)
}
-gallery: App\Entity\Galleries {#1251}
-uploadedAt: null
}
]
}
#initialized: true
-snapshot: array:5 [ …5]
-owner: App\Entity\Galleries {#1251}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1067 …}
-backRefFieldName: "gallery"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1259 …}
}
-title: "Hotel Anelia"
}
-mediaDirSlug: "8"
-offers: Doctrine\ORM\PersistentCollection {#1252
#collection: Doctrine\Common\Collections\ArrayCollection {#1281
-elements: []
}
#initialized: true
-snapshot: []
-owner: App\Entity\Hotels {#1027}
-association: Doctrine\ORM\Mapping\OneToManyAssociationMapping {#1124 …}
-backRefFieldName: "hotel"
-isDirty: false
-em: ContainerUIpB4Xl\EntityManagerGhost614a58f {#77 …12}
-typeClass: Doctrine\ORM\Mapping\ClassMetadata {#1250 …}
}
-highlighted: null
-services: null
-hlStartAt: null
-hlEndAt: null
-slug: "anelia-resort-spa"
}
+stars: null
+dateRange: "22/03/2025 - 26/03/2025"
+fromAt: DateTimeImmutable @1742601600 {#2842
date: 2025-03-22 00:00:00.0 UTC (+00:00)
}
+toAt: DateTimeImmutable @1743033540 {#2841
date: 2025-03-26 23:59:00.0 UTC (+00:00)
}
+zone: null
+honeymoon: false
+ageLimits: array:3 [
"baby" => "5"
"child" => "12"
"teen" => "18"
]
+nights: 4
+chambers: []
+stay_rooms: array:1 [
0 => App\DTO\RoomStayDTO {#1599
-marginRate: 20
-id: 47
-name: "Supérieur"
-slug: "superieur"
-picture: "/uploads/rooms/47/673362248ff08812827645.jpg"
-description: "Avec un nouveau design et un nouvel agencement, nos Chambres Supérieures offrent le confort ultime et une vue unique sur le Jardin ou une vue partielle sur la mer ou sur la piscine principale. Ces chambres de 30 m2 sont équipées d'un lit King ou Twin et disposent d'un balcon."
-stayTotalNights: 4
-adults: 2
-kids: 0
-neededRooms: 1
-kidsRoomsCount: 0
-defaultExtraLabel: ""
-mandatoryExtraId: 176
-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" => 176
"kids_price" => 0
]
"2025-03-23" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
"2025-03-24" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
"2025-03-25" => array:2 [
"adults_price" => 176
"kids_price" => 0
]
]
"amount" => 704
]
]
-totalRoomAmount: 704.0
-totalRoomAmountDiscounted: null
-marginTotalRoom: null
-marginTotalRoomDiscounted: null
-communExtras: array:3 [
0 => App\DTO\ExtraStayDTO {#1622
-marginRate: 20
+extraId: 176
+name: "Base Demi pension"
+description: null
+stayTotalNights: 4
+dailyAdults: 0
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 0
+kidsExtrasAmount: 0
+stayExtrasAmount: 0
+stayRoomAmount: 704.0
+totalStayAmountWoDiscount: 704.0
+totalStayAmount: 704.0
+finalAmountWoDiscount: 844.8
+finalAmount: 844.8
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
1 => App\DTO\ExtraStayDTO {#1623
-marginRate: 20
+extraId: 9
+name: "Suppléments repas pension complète"
+description: null
+stayTotalNights: 4
+dailyAdults: 60
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 240
+kidsExtrasAmount: 0
+stayExtrasAmount: 240
+stayRoomAmount: 704.0
+totalStayAmountWoDiscount: 944.0
+totalStayAmount: 944.0
+finalAmountWoDiscount: 1132.8
+finalAmount: 1132.8
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
2 => App\DTO\ExtraStayDTO {#1652
-marginRate: 20
+extraId: 10
+name: "Supplément repas all inclusive"
+description: null
+stayTotalNights: 4
+dailyAdults: 86
+dailyTeens: 0
+dailyChildren: 0
+dailyBabies: 0
+adultsExtrasAmount: 344
+kidsExtrasAmount: 0
+stayExtrasAmount: 344
+stayRoomAmount: 704.0
+totalStayAmountWoDiscount: 1048.0
+totalStayAmount: 1048.0
+finalAmountWoDiscount: 1257.6
+finalAmount: 1257.6
+extraDiscount: null
+extraKidsDiscount: null
+extraStartAt: null
+extraEndAt: null
+eventDuration: 0
+events: []
}
]
-specialExtras: []
-discounts: []
-error: []
}
]
}