Forms

  • search_tools
    • hotel
    • stars
    • dateRange
    • zone
    • travelers
    • honeymoon
    • chambers
    • _token

search_tools

Form type:
"App\Form\SearchToolsType"

Errors

This form has no errors.

Default Data

Property Value
Model Format same as normalized format
Normalized Format
App\DTO\SearchToolsDTO {#734
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#736 …}
  -debug: true
  +hotel: App\Entity\Hotels {#1006 …}
  +stars: null
  +dateRange: "23/12/2024 - 27/12/2024"
  +fromAt: DateTimeImmutable @1734912000 {#4163
    date: 2024-12-23 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735343940 {#4162
    date: 2024-12-27 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => "3"
    "child" => "12"
    "teen" => "18"
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
View Format same as normalized format

Submitted Data

This form was not submitted.

Passed Options

Option Passed Value Resolved Value
config_chambers
null
null
data
App\DTO\SearchToolsDTO {#734
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#736 …}
  -debug: true
  +hotel: App\Entity\Hotels {#1006 …}
  +stars: null
  +dateRange: "23/12/2024 - 27/12/2024"
  +fromAt: DateTimeImmutable @1734912000 {#4163
    date: 2024-12-23 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735343940 {#4162
    date: 2024-12-27 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => "3"
    "child" => "12"
    "teen" => "18"
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
same as passed value
from
DateTime @1734974118 {#1008
  date: 2024-12-23 17:15:18.460753 UTC (+00:00)
}
same as passed value
to
DateTime @1735319718 {#1011
  date: 2024-12-27 17:15:18.460769 UTC (+00:00)
}
same as passed value

Resolved Options

Option Value
action
""
allow_extra_fields
false
allow_file_upload
false
attr
[]
attr_translation_parameters
[]
auto_initialize
true
block_name
null
block_prefix
null
by_reference
true
compound
true
config_chambers
null
constraints
[]
csrf_field_name
"_token"
csrf_message
"The CSRF token is invalid. Please try to resubmit the form."
csrf_protection
true
csrf_token_id
null
csrf_token_manager
Symfony\Component\Security\Csrf\CsrfTokenManager {#625
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#624 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#623 …}
  -namespace: Closure() {#731 …}
}
data
App\DTO\SearchToolsDTO {#734
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#736 …}
  -debug: true
  +hotel: App\Entity\Hotels {#1006 …}
  +stars: null
  +dateRange: "23/12/2024 - 27/12/2024"
  +fromAt: DateTimeImmutable @1734912000 {#4163
    date: 2024-12-23 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735343940 {#4162
    date: 2024-12-27 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => "3"
    "child" => "12"
    "teen" => "18"
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
data_class
"App\DTO\SearchToolsDTO"
disabled
false
empty_data
Closure(FormInterface $form) {#4833
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
  use: {
    $class: "App\DTO\SearchToolsDTO"
  }
}
error_bubbling
true
error_mapping
[]
extra_fields_message
"This form should not contain extra fields."
form_attr
false
from
DateTime @1734974118 {#1008
  date: 2024-12-23 17:15:18.460753 UTC (+00:00)
}
getter
null
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
hotel_id
null
inherit_data
false
invalid_message
"This value is not valid."
invalid_message_parameters
[]
is_empty_callback
null
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
mapped
true
method
"POST"
post_max_size_message
"The uploaded file was too large. Please try to upload a smaller file."
priority
0
property_path
null
required
true
row_attr
[]
setter
null
stars
null
to
DateTime @1735319718 {#1011
  date: 2024-12-27 17:15:18.460769 UTC (+00:00)
}
translation_domain
null
trim
true
type
null
upload_max_size_message
Closure() {#4835
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#81 …}
    $message: Closure() {#4834 …}
    $translationDomain: "validators"
  }
}
validation_groups
null
zone
null

View Vars

Variable Value
action
""
attr
[]
attr_translation_parameters
[]
block_prefixes
[
  "form"
  "search_tools"
  "_search_tools"
]
cache_key
"_search_tools_search_tools"
compound
true
data
App\DTO\SearchToolsDTO {#734
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#736 …}
  -debug: true
  +hotel: App\Entity\Hotels {#1006 …}
  +stars: null
  +dateRange: "23/12/2024 - 27/12/2024"
  +fromAt: DateTimeImmutable @1734912000 {#4163
    date: 2024-12-23 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735343940 {#4162
    date: 2024-12-27 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => "3"
    "child" => "12"
    "teen" => "18"
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#4975
  -errors: []
  -form: Symfony\Component\Form\Form {#4988 …}
}
form
Symfony\Component\Form\FormView {#4836 …5}
full_name
"search_tools"
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
id
"search_tools"
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
method
"POST"
multipart
false
name
"search_tools"
priority
0
required
true
row_attr
[]
submitted
false
translation_domain
null
unique_block_prefix
"_search_tools"
valid
true
value
App\DTO\SearchToolsDTO {#734
  -date_format: "d/m/Y"
  -uploaderHelper: Vich\UploaderBundle\Templating\Helper\UploaderHelper {#736 …}
  -debug: true
  +hotel: App\Entity\Hotels {#1006 …}
  +stars: null
  +dateRange: "23/12/2024 - 27/12/2024"
  +fromAt: DateTimeImmutable @1734912000 {#4163
    date: 2024-12-23 00:00:00.0 UTC (+00:00)
  }
  +toAt: DateTimeImmutable @1735343940 {#4162
    date: 2024-12-27 23:59:00.0 UTC (+00:00)
  }
  +zone: null
  +honeymoon: false
  +ageLimits: [
    "baby" => "3"
    "child" => "12"
    "teen" => "18"
  ]
  +nights: null
  +chambers: []
  +stay_rooms: []
}